You are here

public function DomainAccessActionBase::submitConfigurationForm in Domain Access 8

Form submission handler.

Parameters

array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().

Overrides PluginFormInterface::submitConfigurationForm

File

domain_access/src/Plugin/Action/DomainAccessActionBase.php, line 74

Class

DomainAccessActionBase
Provides a base class for operations to change domain assignments.

Namespace

Drupal\domain_access\Plugin\Action

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  $this->configuration['domain_id'] = $form_state
    ->getValue('domain_id');
}