You are here

public function MetatagViewsCacheWrapper::__construct in Metatag 8

MetatagViewsCacheWrapper constructor.

Parameters

\Drupal\views\Plugin\views\cache\CachePluginBase $plugin: The cache plugin being wrapped.

Overrides PluginBase::__construct

File

metatag_views/src/MetatagViewsCacheWrapper.php, line 45

Class

MetatagViewsCacheWrapper
This class wraps a Views cache plugin.

Namespace

Drupal\metatag_views

Code

public function __construct(CachePluginBase $plugin) {
  $this->plugin = $plugin;
}