function field_ui_entity_form_mode_presave in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/field_ui/field_ui.module \field_ui_entity_form_mode_presave()
Implements hook_entity_form_mode_presave().
File
- core/
modules/ field_ui/ field_ui.module, line 202 - Allows administrators to attach custom fields to fieldable types.
Code
function field_ui_entity_form_mode_presave(EntityFormModeInterface $form_mode) {
\Drupal::service('router.builder')
->setRebuildNeeded();
}