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(); }
Please login to continue.