function LayoutDefault::submitConfigurationForm

Same name in other branches
  1. 9 core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::submitConfigurationForm()
  2. 10 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.
2 methods override LayoutDefault::submitConfigurationForm()
LayoutTestPlugin::submitConfigurationForm in core/modules/system/tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.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 110

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.