function BlockPluginTrait::blockSubmit

Same name in other branches
  1. 9 core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::blockSubmit()
  2. 8.9.x core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::blockSubmit()
  3. 11.x core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::blockSubmit()
1 call to BlockPluginTrait::blockSubmit()
BlockPluginTrait::submitConfigurationForm in core/lib/Drupal/Core/Block/BlockPluginTrait.php
Most block plugins should not override this method. To add submission handling for a specific block type, override BlockBase::blockSubmit().
12 methods override BlockPluginTrait::blockSubmit()
BlockContentBlock::blockSubmit in core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
BookNavigationBlock::blockSubmit in core/modules/book/src/Plugin/Block/BookNavigationBlock.php
FieldBlock::blockSubmit in core/modules/layout_builder/src/Plugin/Block/FieldBlock.php
ForumBlockBase::blockSubmit in core/modules/forum/src/Plugin/Block/ForumBlockBase.php
InlineBlock::blockSubmit in core/modules/layout_builder/src/Plugin/Block/InlineBlock.php

... See full list

File

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

Class

BlockPluginTrait
Provides the base implementation of a block plugin.

Namespace

Drupal\Core\Block

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.