1 field_ui.module | field_ui_field_attach_rename_bundle($entity_type, $bundle_old, $bundle_new) |
Implements hook_field_attach_rename_bundle().
File
- core/
modules/ field_ui/ field_ui.module, line 10 - Allows administrators to attach custom fields to fieldable types.
Code
function field_ui_field_attach_rename_bundle($entity_type, $bundle_old, $bundle_new) {
// The Field UI relies on entity_get_info() to build menu items for entity
// field administration pages. Ensure that the menu is rebuilt.
menu_rebuild();
}