public function ActiveTrail::submitConfigurationForm in Context Active Trail 8.2
Same name and namespace in other branches
- 8 src/Plugin/ContextReaction/ActiveTrail.php \Drupal\context_active_trail\Plugin\ContextReaction\ActiveTrail::submitConfigurationForm()
File
- src/
Plugin/ ContextReaction/ ActiveTrail.php, line 112
Class
- ActiveTrail
- Provides a reaction that sets the active trail.
Namespace
Drupal\context_active_trail\Plugin\ContextReactionCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
Cache::invalidateTags([
'context_active_trail',
]);
$this
->setConfiguration($form_state
->getValues());
}