You are here

public function BlockPluginTrait::blockValidate in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::blockValidate()
1 call to BlockPluginTrait::blockValidate()
BlockPluginTrait::validateConfigurationForm in core/lib/Drupal/Core/Block/BlockPluginTrait.php
Most block plugins should not override this method. To add validation for a specific block type, override BlockBase::blockValidate().
3 methods override BlockPluginTrait::blockValidate()
InlineBlock::blockValidate in core/modules/layout_builder/src/Plugin/Block/InlineBlock.php
TestSettingsValidationBlock::blockValidate in core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php
ViewsBlock::blockValidate in core/modules/views/src/Plugin/Block/ViewsBlock.php

File

core/lib/Drupal/Core/Block/BlockPluginTrait.php, line 210

Class

BlockPluginTrait
Provides the base implementation of a block plugin.

Namespace

Drupal\Core\Block

Code

public function blockValidate($form, FormStateInterface $form_state) {
}