field_ui_entity_view_mode_presave(EntityViewModeInterface $view_mode)
Implements hook_entity_view_mode_presave().
File
- core/modules/field_ui/field_ui.module, line 193
- Allows administrators to attach custom fields to fieldable types.
Code
1 2 3 | function field_ui_entity_view_mode_presave(EntityViewModeInterface $view_mode ) { \Drupal::service( 'router.builder' )->setRebuildNeeded(); } |
Please login to continue.