You are here

public function LayoutTestPlugin::submitConfigurationForm in Layout Plugin (obsolete, use core's Layout Discovery) 8

@inheritDoc

Overrides LayoutBase::submitConfigurationForm

File

tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php, line 53

Class

LayoutTestPlugin
The plugin that handles the default layout template.

Namespace

Drupal\layout_test\Plugin\Layout

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  parent::submitConfigurationForm($form, $form_state);
  $this->configuration['setting_1'] = $form_state
    ->getValue('setting_1');
}