function field_ui_field_attach_create_bundle

Implements hook_field_attach_create_bundle().

File

modules/field_ui/field_ui.module, line 329

Code

function field_ui_field_attach_create_bundle($entity_type, $bundle) {
    // When a new bundle is created, the menu needs to be rebuilt to add our
    // menu item tabs.
    variable_set('menu_rebuild_needed', TRUE);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.