public function BlockPluginInterface::submit

Handles form submissions for the block configuration form.

Parameters

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

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

See also

\Drupal\block\BlockFormController::submit()

\Drupal\block\BlockInterace::form()

\Drupal\block\BlockInterace::validate()

1 method overrides BlockPluginInterface::submit()
BlockBase::submit in drupal/core/modules/block/lib/Drupal/block/BlockBase.php
Implements \Drupal\block\BlockPluginInterface::submit().

File

drupal/core/modules/block/lib/Drupal/block/BlockPluginInterface.php, line 93
Contains \Drupal\block\BlockPluginInterface.

Class

BlockPluginInterface
Defines the required interface for all block plugins.

Namespace

Drupal\block

Code

public function submit($form, &$form_state);