function LayoutTestPlugin::submitConfigurationForm
Overrides LayoutDefault::submitConfigurationForm
File
-
core/
modules/ system/ tests/ modules/ layout_test/ src/ Plugin/ Layout/ LayoutTestPlugin.php, line 60
Class
- LayoutTestPlugin
- The plugin that handles the default layout template.
Namespace
Drupal\layout_test\Plugin\LayoutCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->configuration['setting_1'] = $form_state->getValue('setting_1');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.