public function BlockPluginTrait::blockValidate in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::blockValidate()
- 10 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 213
Class
- BlockPluginTrait
- Provides the base implementation of a block plugin.
Namespace
Drupal\Core\BlockCode
public function blockValidate($form, FormStateInterface $form_state) {
}