public function LayoutDefault::submitConfigurationForm in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::submitConfigurationForm()
- 9 core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::submitConfigurationForm()
2 methods override LayoutDefault::submitConfigurationForm()
- LayoutTestPlugin::submitConfigurationForm in core/
modules/ system/ tests/ modules/ layout_test/ src/ Plugin/ Layout/ LayoutTestPlugin.php - Form submission handler.
- LayoutWithoutLabel::submitConfigurationForm in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ Layout/ LayoutWithoutLabel.php - Form submission handler.
File
- core/
lib/ Drupal/ Core/ Layout/ LayoutDefault.php, line 125
Class
- LayoutDefault
- Provides a default class for Layout plugins.
Namespace
Drupal\Core\LayoutCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->configuration['label'] = $form_state
->getValue('label');
}