public function TagBlock::__construct in Doubleclick for Publishers (DFP) 8
Same name in this branch
- 8 src/Plugin/Derivative/TagBlock.php \Drupal\dfp\Plugin\Derivative\TagBlock::__construct()
- 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\DerivativeCode
public function __construct(EntityStorageInterface $tag_storage) {
$this->tagStorage = $tag_storage;
}