You are here

public function RecipientTypeBase::getConfiguration in Workbench Email 8

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

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::getConfiguration

3 calls to RecipientTypeBase::getConfiguration()
EmailField::setFields in src/Plugin/RecipientType/EmailField.php
Sets roles.
FixedEmail::submitConfigurationForm in src/Plugin/RecipientType/FixedEmail.php
Form submission handler.
Role::setRoles in src/Plugin/RecipientType/Role.php
Sets roles.

File

src/Plugin/RecipientTypeBase.php, line 71

Class

RecipientTypeBase
Provides a base class for Recipient type plugins.

Namespace

Drupal\workbench_email\Plugin

Code

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