You are here

public function MicrositePluginTrait::submitConfigurationForm in Entity Reference Hierarchy 8.2

Same name and namespace in other branches
  1. 3.x modules/entity_hierarchy_microsite/src/Plugin/MicrositePluginTrait.php \Drupal\entity_hierarchy_microsite\Plugin\MicrositePluginTrait::submitConfigurationForm()
1 call to MicrositePluginTrait::submitConfigurationForm()
MicrositeMenu::submitConfigurationForm in modules/entity_hierarchy_microsite/src/Plugin/Block/MicrositeMenu.php
Most block plugins should not override this method. To add submission handling for a specific block type, override BlockBase::blockSubmit().

File

modules/entity_hierarchy_microsite/src/Plugin/MicrositePluginTrait.php, line 90

Class

MicrositePluginTrait
Defines a trait for microsite plugin functionality.

Namespace

Drupal\entity_hierarchy_microsite\Plugin

Code

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