You are here

public function LayoutDefault::submitConfigurationForm in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::submitConfigurationForm()
  2. 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\Layout

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  $this->configuration['label'] = $form_state
    ->getValue('label');
}