field_ui_entity_form_mode_presave

field_ui_entity_form_mode_presave(EntityFormModeInterface $form_mode)

Implements hook_entity_form_mode_presave().

File

core/modules/field_ui/field_ui.module, line 200
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();
}
doc_Drupal
2016-10-29 09:13:01
Comments
Leave a Comment

Please login to continue.