public function LingotekContentEntityConfigurableActionBase::submitConfigurationForm in Lingotek Translation 3.1.x
Same name and namespace in other branches
- 8.2 src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
- 4.0.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
- 3.0.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
- 3.2.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
- 3.3.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
- 3.4.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
- 3.5.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
- 3.6.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
- 3.7.x src/Plugin/Action/LingotekContentEntityConfigurableActionBase.php \Drupal\lingotek\Plugin\Action\LingotekContentEntityConfigurableActionBase::submitConfigurationForm()
- 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
Namespace
Drupal\lingotek\Plugin\ActionCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->configuration['language'] = $form_state
->getValue('language');
}