You are here

public function RecipientTypeBase::defaultConfiguration in Workbench Email 8

Same name and namespace in other branches
  1. 2.x src/Plugin/RecipientTypeBase.php \Drupal\workbench_email\Plugin\RecipientTypeBase::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

File

src/Plugin/RecipientTypeBase.php, line 83

Class

RecipientTypeBase
Provides a base class for Recipient type plugins.

Namespace

Drupal\workbench_email\Plugin

Code

public function defaultConfiguration() {
  return [
    'provider' => $this->pluginDefinition['provider'],
    'status' => FALSE,
    'settings' => $this->pluginDefinition['settings'],
  ];
}