function BlockPluginTrait::blockValidate
Same name in other branches
- 9 core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::blockValidate()
- 8.9.x 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 217
Class
- BlockPluginTrait
- Provides the base implementation of a block plugin.
Namespace
Drupal\Core\BlockCode
public function blockValidate($form, FormStateInterface $form_state) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.