You are here

public function MessageAction::submitConfigurationForm in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php \Drupal\Core\Action\Plugin\Action\MessageAction::submitConfigurationForm()
  2. 9 core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php \Drupal\Core\Action\Plugin\Action\MessageAction::submitConfigurationForm()

File

core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php, line 121

Class

MessageAction
Sends a message to the current user's screen.

Namespace

Drupal\Core\Action\Plugin\Action

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  $this->configuration['message'] = $form_state
    ->getValue('message');
  unset($this->configuration['node']);
}