public function LayoutBase::submitConfigurationForm in Layout Plugin (obsolete, use core's Layout Discovery) 8
Form submission handler.
Parameters
array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().
Overrides PluginFormInterface::submitConfigurationForm
2 calls to LayoutBase::submitConfigurationForm()
- LayoutExampleTest::submitConfigurationForm in modules/
layout_plugin_example/ src/ Plugin/ Layout/ LayoutExampleTest.php - @inheritDoc
- LayoutTestPlugin::submitConfigurationForm in tests/
modules/ layout_test/ src/ Plugin/ Layout/ LayoutTestPlugin.php - @inheritDoc
2 methods override LayoutBase::submitConfigurationForm()
- LayoutExampleTest::submitConfigurationForm in modules/
layout_plugin_example/ src/ Plugin/ Layout/ LayoutExampleTest.php - @inheritDoc
- LayoutTestPlugin::submitConfigurationForm in tests/
modules/ layout_test/ src/ Plugin/ Layout/ LayoutTestPlugin.php - @inheritDoc
File
- src/
Plugin/ Layout/ LayoutBase.php, line 147
Class
- LayoutBase
- Provides a base class for Layout plugins.
Namespace
Drupal\layout_plugin\Plugin\LayoutCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->configuration = $form_state
->getValues();
}