You are here

public function BlockStyleBase::validateConfigurationForm in Block Style Plugins 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/BlockStyleBase.php \Drupal\block_style_plugins\Plugin\BlockStyleBase::validateConfigurationForm()

Form validation handler.

Parameters

array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().

Overrides PluginFormInterface::validateConfigurationForm

1 call to BlockStyleBase::validateConfigurationForm()
BlockStyleBase::validateForm in src/Plugin/BlockStyleBase.php
Adds block style specific validation handling for the block form.

File

src/Plugin/BlockStyleBase.php, line 111

Class

BlockStyleBase
Base class for Block style plugins.

Namespace

Drupal\block_style_plugins\Plugin

Code

public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
}