You are here

public function ActiveTrail::submitConfigurationForm in Context Active Trail 8

Same name and namespace in other branches
  1. 8.2 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\ContextReaction

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  Cache::invalidateTags([
    'context_active_trail',
  ]);
  $this
    ->setConfiguration($form_state
    ->getValues());
}