public function JwPlayerSettingsCacheTag::__construct in JW Player 8
Constructs a JwPlayerSettingsCacheTag object.
Parameters
\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cache_tags_invalidator: The cache tags invalidator.
File
- src/
EventSubscriber/ JwPlayerSettingsCacheTag.php, line 33 - Contains \Drupal\jw_player\EventSubscriber\JwPlayerSettingsCacheTag.
Class
- JwPlayerSettingsCacheTag
- Invalidates the 'library_info' cache tag when saving jw_player.settings.
Namespace
Drupal\jw_player\EventSubscriberCode
public function __construct(CacheTagsInvalidatorInterface $cache_tags_invalidator) {
$this->cacheTagsInvalidator = $cache_tags_invalidator;
}