function LayoutForm::save
Saves the Layout changes.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
1 call to LayoutForm::save()
- LayoutForm::submitForm in core/
modules/ navigation/ src/ Form/ LayoutForm.php - Form submission handler.
File
-
core/
modules/ navigation/ src/ Form/ LayoutForm.php, line 134
Class
- LayoutForm
- Defines a form for configuring navigation blocks.
Namespace
Drupal\navigation\FormCode
public function save(array &$form, FormStateInterface $form_state) : void {
$this->sectionStorage
->save();
$this->saveTasks($form_state, new TranslatableMarkup('Saved navigation blocks'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.