You are here

public function MicrositeMenu::buildConfigurationForm 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::buildConfigurationForm()

Creates a generic configuration form for all block types. Individual block plugins can add elements to this form by overriding BlockBase::blockForm(). Most block plugins should not override this method unless they need to alter the generic form elements.

Overrides BlockPluginTrait::buildConfigurationForm

See also

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

File

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

Class

MicrositeMenu
Defines a class for a microsite menu.

Namespace

Drupal\entity_hierarchy_microsite\Plugin\Block

Code

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