2 * Implements hook_field_attach_create_bundle().
4 function {{ machine_name }}_field_attach_create_bundle($entity_type, $bundle) {
5 // When a new bundle is created, the menu needs to be rebuilt to add the
6 // Field UI menu item tabs.
7 variable_set('menu_rebuild_needed', TRUE);