| 7 field.api.php | hook_field_attach_create_bundle($entity_type, $bundle) |
| 8 field.api.php | hook_field_attach_create_bundle($entity_type, $bundle) |
Act on field_attach_create_bundle().
This hook is invoked after the field module has performed the operation.
See field_attach_create_bundle() for details and arguments.
Related topics
2 functions implement hook_field_attach_create_bundle()
1 invocation of hook_field_attach_create_bundle()
File
- modules/
field/ field.api.php, line 1509
Code
function hook_field_attach_create_bundle($entity_type, $bundle) {
// When a new bundle is created, the menu needs to be rebuilt to add the
// Field UI menu item tabs.
variable_set('menu_rebuild_needed', TRUE);
}
Login or register to post comments