You are here

barcode.html.twig in Barcode 8

Default theme implementation of a barcode element.

Available variables:

  • barcode: The generated barcode.
  • data: The raw data.
    • value: The barcode number.
    • type: The barcode type.

See also

template_preprocess()

File

templates/barcode.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation of a barcode element.
  5. *
  6. * Available variables:
  7. * - barcode: The generated barcode.
  8. * - data: The raw data.
  9. * - value: The barcode number.
  10. * - type: The barcode type.
  11. *
  12. * @see template_preprocess()
  13. *
  14. * @ingroup themeable
  15. */
  16. #}
  17. {{ barcode }}