You are here

protected function EmailField::getFields in Workbench Email 8

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

Gets value of roles.

Return value

array Value of roles

5 calls to EmailField::getFields()
EmailField::buildConfigurationForm in src/Plugin/RecipientType/EmailField.php
Generates a recipient types's settings form.
EmailField::calculateDependencies in src/Plugin/RecipientType/EmailField.php
Calculates dependencies for the configured plugin.
EmailField::onDependencyRemoval in src/Plugin/RecipientType/EmailField.php
Informs the plugin that a dependency of the recipient type will be deleted.
EmailField::prepareRecipients in src/Plugin/RecipientType/EmailField.php
Returns email address(s) matching this recipient type's configuration.
EntityReferenceUser::buildConfigurationForm in src/Plugin/RecipientType/EntityReferenceUser.php
Generates a recipient types's settings form.

File

src/Plugin/RecipientType/EmailField.php, line 201

Class

EmailField
Provides a recipient type of an email field.

Namespace

Drupal\workbench_email\Plugin\RecipientType

Code

protected function getFields() {
  return $this
    ->getConfiguration()['settings']['fields'];
}