public function ContextReactionFormBase::submitForm in Context 8
Same name and namespace in other branches
- 8.4 src/Reaction/ContextReactionFormBase.php \Drupal\context\Reaction\ContextReactionFormBase::submitForm()
- 8.0 src/Reaction/ContextReactionFormBase.php \Drupal\context\Reaction\ContextReactionFormBase::submitForm()
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides FormInterface::submitForm
File
- src/
Reaction/ ContextReactionFormBase.php, line 64
Class
Namespace
Drupal\context\ReactionCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$this->context
->save();
}