public function BlockPluginTrait::blockForm in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::blockForm()
- 9 core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::blockForm()
4 methods override BlockPluginTrait::blockForm()
- TestAjaxBlock::blockForm in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ Block/ TestAjaxBlock.php - TestAttributesBlock::blockForm in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ Block/ TestAttributesBlock.php - TestBlockInstantiation::blockForm in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestBlockInstantiation.php - TestSettingsValidationBlock::blockForm in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestSettingsValidationBlock.php
File
- core/
lib/ Drupal/ Core/ Block/ BlockPluginTrait.php, line 195
Class
- BlockPluginTrait
- Provides the base implementation of a block plugin.
Namespace
Drupal\Core\BlockCode
public function blockForm($form, FormStateInterface $form_state) {
return [];
}