function LayoutDefault::submitConfigurationForm

Same name in other branches
  1. 9 core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::submitConfigurationForm()
  2. 8.9.x core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::submitConfigurationForm()
  3. 11.x core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::submitConfigurationForm()

Overrides PluginFormInterface::submitConfigurationForm

1 call to LayoutDefault::submitConfigurationForm()
MultiWidthLayoutBase::submitConfigurationForm in core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php
Form submission handler.
3 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.
MultiWidthLayoutBase::submitConfigurationForm in core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php
Form submission handler.

File

core/lib/Drupal/Core/Layout/LayoutDefault.php, line 126

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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.