field_ui_entity_view_mode_delete

field_ui_entity_view_mode_delete(EntityViewModeInterface $view_mode)

Implements hook_entity_view_mode_delete().

File

core/modules/field_ui/field_ui.module, line 207
Allows administrators to attach custom fields to fieldable types.

Code

function field_ui_entity_view_mode_delete(EntityViewModeInterface $view_mode) {
  \Drupal::service('router.builder')->setRebuildNeeded();
}
doc_Drupal
2016-10-29 09:13:02
Comments
Leave a Comment

Please login to continue.