public function BlockBase::validate

Implements \Drupal\block\BlockPluginInterface::validate().

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

@todo Add inline documentation to this method.

Overrides BlockPluginInterface::validate

See also

\Drupal\block\BlockBase::blockValidate()

File

drupal/core/modules/block/lib/Drupal/block/BlockBase.php, line 169
Contains \Drupal\block\BlockBase.

Class

BlockBase
Defines a base block implementation that most blocks plugins will extend.

Namespace

Drupal\block

Code

public function validate($form, &$form_state) {
  $this
    ->blockValidate($form, $form_state);
}