You are here

public function MetatagViewsCacheWrapper::setMessenger in Metatag 8

Sets the messenger.

Parameters

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.

Overrides MessengerTrait::setMessenger

File

metatag_views/src/MetatagViewsCacheWrapper.php, line 404

Class

MetatagViewsCacheWrapper
This class wraps a Views cache plugin.

Namespace

Drupal\metatag_views

Code

public function setMessenger(MessengerInterface $messenger) {
  $this->plugin
    ->setMessenger($messenger);
}