public function Tag::hasBlock in Doubleclick for Publishers (DFP) 8
Determines whether the tag provides a block plugin.
Return value
bool TRUE if the tag provides a block plugin, FALSE if not.
Overrides TagInterface::hasBlock
See also
\Drupal\dfp\Plugin\Derivative\TagBlock
File
- src/
Entity/ Tag.php, line 182 - Contains \Drupal\dfp\Entity\Tag.
Class
- Tag
- Defines the DFP Ad tag configuration entity class.
Namespace
Drupal\dfp\EntityCode
public function hasBlock() {
return $this->block;
}