function FieldUiHooks::entityFormModeDelete
Implements hook_ENTITY_TYPE_delete().
File
-
core/
modules/ field_ui/ src/ Hook/ FieldUiHooks.php, line 220
Class
- FieldUiHooks
- Hook implementations for field_ui.
Namespace
Drupal\field_ui\HookCode
public function entityFormModeDelete(EntityFormModeInterface $form_mode) : void {
\Drupal::service('router.builder')->setRebuildNeeded();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.