public function BlockBase::blockSubmit

Adds block type-specific submission handling for the block form.

Note that this method takes the form structure and form state arrays for the full block configuration form as arguments, not just the elements defined in BlockBase::blockForm().

Parameters

array $form: The form definition array for the full block configuration form.

array $form_state: An array containing the current state of the configuration form.

See also

\Drupal\block\BlockBase::blockForm()

\Drupal\block\BlockBase::blockValidate()

\Drupal\block\BlockBase::submit()

1 call to BlockBase::blockSubmit()
BlockBase::submit in drupal/core/modules/block/lib/Drupal/block/BlockBase.php
Implements \Drupal\block\BlockPluginInterface::submit().
11 methods override BlockBase::blockSubmit()
AggregatorCategoryBlock::blockSubmit in drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorCategoryBlock.php
Overrides \Drupal\block\BlockBase::blockSubmit().
AggregatorFeedBlock::blockSubmit in drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorFeedBlock.php
Overrides \Drupal\block\BlockBase::blockSubmit().
BookNavigationBlock::blockSubmit in drupal/core/modules/book/lib/Drupal/book/Plugin/Block/BookNavigationBlock.php
Overrides \Drupal\block\BlockBase::blockSubmit().
CustomBlockBlock::blockSubmit in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Plugin/Block/CustomBlockBlock.php
Overrides \Drupal\block\BlockBase::blockSubmit().
ForumBlockBase::blockSubmit in drupal/core/modules/forum/lib/Drupal/forum/Plugin/Block/ForumBlockBase.php
Overrides \Drupal\block\BlockBase::blockSubmit().

... See full list

File

drupal/core/modules/block/lib/Drupal/block/BlockBase.php, line 226
Contains \Drupal\block\BlockBase.

Class

BlockBase
Defines a base block implementation that most blocks plugins will extend.

Namespace

Drupal\block

Code

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