public function LayoutExampleTest::submitConfigurationForm in Layout Plugin (obsolete, use core's Layout Discovery) 8
@inheritDoc
Overrides LayoutBase::submitConfigurationForm
File
- modules/
layout_plugin_example/ src/ Plugin/ Layout/ LayoutExampleTest.php, line 59
Class
- LayoutExampleTest
- The plugin that handles the default layout template.
Namespace
Drupal\layout_plugin_example\Plugin\LayoutCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
parent::submitConfigurationForm($form, $form_state);
$this->configuration['setting_1'] = $form_state
->getValue('setting_1');
}