function MessageAction::submitConfigurationForm
Same name in other branches
- 9 core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php \Drupal\Core\Action\Plugin\Action\MessageAction::submitConfigurationForm()
- 10 core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php \Drupal\Core\Action\Plugin\Action\MessageAction::submitConfigurationForm()
- 11.x core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php \Drupal\Core\Action\Plugin\Action\MessageAction::submitConfigurationForm()
Overrides PluginFormInterface::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\ActionCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->configuration['message'] = $form_state->getValue('message');
unset($this->configuration['node']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.