function MessageAction::defaultConfiguration

Same name in other branches
  1. 9 core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php \Drupal\Core\Action\Plugin\Action\MessageAction::defaultConfiguration()
  2. 10 core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php \Drupal\Core\Action\Plugin\Action\MessageAction::defaultConfiguration()
  3. 11.x core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php \Drupal\Core\Action\Plugin\Action\MessageAction::defaultConfiguration()

Overrides ConfigurableActionBase::defaultConfiguration

File

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

Class

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

Namespace

Drupal\Core\Action\Plugin\Action

Code

public function defaultConfiguration() {
    return [
        'message' => '',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.