function MenuForm::submitForm
Same name in other branches
- 9 core/modules/menu_ui/src/MenuForm.php \Drupal\menu_ui\MenuForm::submitForm()
- 10 core/modules/menu_ui/src/MenuForm.php \Drupal\menu_ui\MenuForm::submitForm()
- 11.x core/modules/menu_ui/src/MenuForm.php \Drupal\menu_ui\MenuForm::submitForm()
Overrides EntityForm::submitForm
File
-
core/
modules/ menu_ui/ src/ MenuForm.php, line 197
Class
- MenuForm
- Base form for menu edit forms.
Namespace
Drupal\menu_uiCode
public function submitForm(array &$form, FormStateInterface $form_state) {
parent::submitForm($form, $form_state);
if (!$this->entity
->isNew() || $this->entity
->isLocked()) {
$this->submitOverviewForm($form, $form_state);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.