You are here

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()

File

templates/dfp-short-tag.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a DFP short tag.
  5. *
  6. * Available variables:
  7. * - tag: The DFP Tag configuration entity.
  8. * - url_jump: Url to link to.
  9. * - url_ad: Url to display the ad.
  10. *
  11. * @see \Drupal\dfp\View\Tag\TagViewBuilder::buildPreTag()
  12. *
  13. * @ingroup themeable
  14. */
  15. #}
  16. <a href="{{ url_jump }}">
  17. <img src="{{ url_ad }}">
  18. </a>