public function Language::submitConfigurationForm in Drupal 10
Same name in this branch
- 10 core/modules/language/src/Plugin/Condition/Language.php \Drupal\language\Plugin\Condition\Language::submitConfigurationForm()
- 10 core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Language.php \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Language::submitConfigurationForm()
Same name and namespace in other branches
- 8 core/modules/language/src/Plugin/Condition/Language.php \Drupal\language\Plugin\Condition\Language::submitConfigurationForm()
- 9 core/modules/language/src/Plugin/Condition/Language.php \Drupal\language\Plugin\Condition\Language::submitConfigurationForm()
File
- core/
modules/ language/ src/ Plugin/ Condition/ Language.php, line 95
Class
- Language
- Provides a 'Language' condition.
Namespace
Drupal\language\Plugin\ConditionCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->configuration['langcodes'] = array_filter($form_state
->getValue('langcodes'));
parent::submitConfigurationForm($form, $form_state);
}