public function ModuleEnabled::submitConfigurationForm in Varbase Total Control Dashboard 8.6
Same name and namespace in other branches
- 8 src/Plugin/Condition/ModuleEnabled.php \Drupal\varbase_total_control\Plugin\Condition\ModuleEnabled::submitConfigurationForm()
- 8.5 src/Plugin/Condition/ModuleEnabled.php \Drupal\varbase_total_control\Plugin\Condition\ModuleEnabled::submitConfigurationForm()
- 9.0.x src/Plugin/Condition/ModuleEnabled.php \Drupal\varbase_total_control\Plugin\Condition\ModuleEnabled::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 ConditionPluginBase::submitConfigurationForm
File
- src/
Plugin/ Condition/ ModuleEnabled.php, line 43
Class
- ModuleEnabled
- Provides a 'Module' condition.
Namespace
Drupal\varbase_total_control\Plugin\ConditionCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->configuration['module'] = $form_state
->getValue('module');
parent::submitConfigurationForm($form, $form_state);
}