function BlockPluginTrait::blockSubmit

Same name in other branches
  1. 9 core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::blockSubmit()
  2. 10 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().

File

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

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.