You are here

public function EmailAction::defaultConfiguration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/action/src/Plugin/Action/EmailAction.php \Drupal\action\Plugin\Action\EmailAction::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableActionBase::defaultConfiguration

File

core/modules/action/src/Plugin/Action/EmailAction.php, line 157
Contains \Drupal\action\Plugin\Action\EmailAction.

Class

EmailAction
Sends an email message.

Namespace

Drupal\action\Plugin\Action

Code

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