field_ui_entity_view_mode_delete

function 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();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
登录查看完整内容