- Issue created by @trickfun
- Status changed to Fixed
about 1 year ago 7:02am 29 November 2023 - 🇺🇸United States tr Cascadia
Here's a brief description. A complete discussion of the Drupal theming system is way out of scope of this issue queue. But basically a barcode is just a format for a value stored in a field. You can use barcode fields in a Twig template the same way you can use any other field.
A barcode is just a field formatter. So when you configure your content and add a field to hold the barcode value then choose Barcode as the field formatter, the barcode will display on your content's web page automatically. You can change the display of your content from the Drupal UI to re-arrange where and how the fields are displayed, or if you want more control you can override the Twig template for your content to have more control over the markup. See https://www.drupal.org/docs/theming-drupal/twig-in-drupal/using-custom-c... →
Automatically closed - issue fixed for 2 weeks with no activity.