public function EmailAction::defaultConfiguration in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Action/Plugin/Action/EmailAction.php \Drupal\Core\Action\Plugin\Action\EmailAction::defaultConfiguration()
- 10 core/lib/Drupal/Core/Action/Plugin/Action/EmailAction.php \Drupal\Core\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/
lib/ Drupal/ Core/ Action/ Plugin/ Action/ EmailAction.php, line 152
Class
- EmailAction
- Sends an email message.
Namespace
Drupal\Core\Action\Plugin\ActionCode
public function defaultConfiguration() {
return [
'recipient' => '',
'subject' => '',
'message' => '',
];
}