function field_ui_entity_view_mode_presave
Same name in other branches
- 9 core/modules/field_ui/field_ui.module \field_ui_entity_view_mode_presave()
- 8.9.x core/modules/field_ui/field_ui.module \field_ui_entity_view_mode_presave()
- 11.x core/modules/field_ui/field_ui.module \field_ui_entity_view_mode_presave()
Implements hook_entity_view_mode_presave().
File
-
core/
modules/ field_ui/ field_ui.module, line 175
Code
function field_ui_entity_view_mode_presave(EntityViewModeInterface $view_mode) {
\Drupal::service('router.builder')->setRebuildNeeded();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.