You are here

public function MetatagViewsCacheWrapper::init in Metatag 8

Initialize the plugin.

Parameters

\Drupal\views\ViewExecutable $view: The view object.

\Drupal\views\Plugin\views\display\DisplayPluginBase $display: The display handler.

array $options: The options configured for this plugin.

Overrides PluginBase::init

File

metatag_views/src/MetatagViewsCacheWrapper.php, line 200

Class

MetatagViewsCacheWrapper
This class wraps a Views cache plugin.

Namespace

Drupal\metatag_views

Code

public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
  $this->plugin
    ->init($view, $display, $options);
}