You are here

public function RecipientTypeBase::buildConfigurationForm in Workbench Email 8

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

Generates a recipient types's settings form.

Parameters

array $form: A minimally prepopulated form array.

\Drupal\Core\Form\FormStateInterface $form_state: The state of the (entire) configuration form.

Return value

array The $form array with additional form elements for the settings of this recipient type. The submitted form values should match $this->settings.

Overrides RecipientTypeInterface::buildConfigurationForm

3 methods override RecipientTypeBase::buildConfigurationForm()
EmailField::buildConfigurationForm in src/Plugin/RecipientType/EmailField.php
Generates a recipient types's settings form.
FixedEmail::buildConfigurationForm in src/Plugin/RecipientType/FixedEmail.php
Generates a recipient types's settings form.
Role::buildConfigurationForm in src/Plugin/RecipientType/Role.php
Generates a recipient types's settings form.

File

src/Plugin/RecipientTypeBase.php, line 115

Class

RecipientTypeBase
Provides a base class for Recipient type plugins.

Namespace

Drupal\workbench_email\Plugin

Code

public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
  return [];
}