dfp-short-tag.html.twig in Doubleclick for Publishers (DFP) 8
Default theme implementation to display a DFP short tag.
Available variables:
- tag: The DFP Tag configuration entity.
- url_jump: Url to link to.
- url_ad: Url to display the ad.
See also
\Drupal\dfp\View\Tag\TagViewBuilder::buildPreTag()
1 theme call to dfp-short-tag.html.twig
- TagViewBuilder::buildPreTag in src/
View/ TagViewBuilder.php - Builds a #pre_render-able DFP tag render array.
File
templates/dfp-short-tag.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to display a DFP short tag.
- *
- * Available variables:
- * - tag: The DFP Tag configuration entity.
- * - url_jump: Url to link to.
- * - url_ad: Url to display the ad.
- *
- * @see \Drupal\dfp\View\Tag\TagViewBuilder::buildPreTag()
- *
- * @ingroup themeable
- */
- #}
- <a href="{{ url_jump }}">
- <img src="{{ url_ad }}">
- </a>