Skip to content
Snippets Groups Projects
Commit 063c53f3 authored by Viktor Holovachek's avatar Viktor Holovachek Committed by Adriano Cori
Browse files

3398280 - Fix clearing cache

parent 3bd0cfeb
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ namespace Drupal\prevnext\Form;
use Drupal\Core\Form\ConfigFormBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Cache\Cache;
/**
* Form for the module settings.
......@@ -52,6 +53,7 @@ class PrevNextSettingsForm extends ConfigFormBase {
->set('prevnext_enabled_nodetypes', $form_state->getValue('prevnext_enabled_nodetypes'))
->save();
Cache::invalidateTags(['entity_field_info']);
parent::submitForm($form, $form_state);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment