You are here

public function TagBlock::__construct in Doubleclick for Publishers (DFP) 8

Same name in this branch
  1. 8 src/Plugin/Derivative/TagBlock.php \Drupal\dfp\Plugin\Derivative\TagBlock::__construct()
  2. 8 src/Plugin/Block/TagBlock.php \Drupal\dfp\Plugin\Block\TagBlock::__construct()

Constructs a TagBlock object.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $tag_storage: The DFP tag storage.

File

src/Plugin/Derivative/TagBlock.php, line 35
Contains \Drupal\dfp\Plugin\Derivative\TagBlock.

Class

TagBlock
Retrieves block plugin definitions for all available DFP Ad tags.

Namespace

Drupal\dfp\Plugin\Derivative

Code

public function __construct(EntityStorageInterface $tag_storage) {
  $this->tagStorage = $tag_storage;
}