You are here

public function LingotekContentEntityConfigurableActionBase::submitConfigurationForm in Lingotek Translation 4.0.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
  2. 3.0.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
  3. 3.1.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
  4. 3.2.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
  5. 3.3.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
  6. 3.4.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
  7. 3.5.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
  8. 3.6.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
  9. 3.7.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
  10. 3.8.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()

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

src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php, line 114

Class

LingotekContentEntityConfigurableActionBase

Namespace

Drupal\lingotek\Plugin\Action

Code

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