Commit 28396c4b authored by rob_pr's avatar rob_pr Committed by heddn
Browse files

Invalidate cache on migration group update

parent 71661449
......@@ -2,6 +2,7 @@
namespace Drupal\migrate_plus\Entity;
use Drupal\Core\Cache\Cache;
use Drupal\Core\Config\Entity\ConfigEntityBase;
/**
......@@ -85,4 +86,12 @@ class MigrationGroup extends ConfigEntityBase implements MigrationGroupInterface
return $this->dependencies;
}
/**
* {@inheritdoc}
*/
protected function invalidateTagsOnSave($update) {
parent::invalidateTagsOnSave($update);
Cache::invalidateTags(['migration_plugins']);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment