You are here

public function MicrositeMenu::submitConfigurationForm in Entity Reference Hierarchy 8.2

Same name and namespace in other branches
  1. 3.x modules/entity_hierarchy_microsite/src/Plugin/Block/MicrositeMenu.php \Drupal\entity_hierarchy_microsite\Plugin\Block\MicrositeMenu::submitConfigurationForm()

Most block plugins should not override this method. To add submission handling for a specific block type, override BlockBase::blockSubmit().

Overrides BlockPluginTrait::submitConfigurationForm

See also

\Drupal\Core\Block\BlockBase::blockSubmit()

File

modules/entity_hierarchy_microsite/src/Plugin/Block/MicrositeMenu.php, line 52

Class

MicrositeMenu
Defines a class for a microsite menu.

Namespace

Drupal\entity_hierarchy_microsite\Plugin\Block

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  return parent::submitConfigurationForm($form, $form_state) + $this
    ->traitSubmitConfigurationForm($form, $form_state);
}