function EmailAction::defaultConfiguration

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

Overrides ConfigurableActionBase::defaultConfiguration

File

core/lib/Drupal/Core/Action/Plugin/Action/EmailAction.php, line 153

Class

EmailAction
Sends an email message.

Namespace

Drupal\Core\Action\Plugin\Action

Code

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

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