QR Code Formatter
21 sites
Security covered
Drupal 10–11
This module provides a field formatter for link fields that displays the link's URL as a QR code image. It uses a PHP library to generate an SVG QR code directly within the rendered output.
QR Code Formatter is a simple module that defines a Field Formatter for Links to be displayed as a QR image.
Setup
-
Install the module as you would normally install a contributed Drupal module or theme via Composer.
composer require drupal/qr_code_formatter - Go to display settings of any entity. For example:(/admin/structure/types/manage/basic_page/display)
- Look for the link type field, in the Format column you should see QR Code Formatter
The module uses the chillerlan/php-qrcode to generate an SVG with the QR. The SVG is placed inline. The module doesn't deal with caching as it delegates this to the place where it is used.
See an example:
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.0 | Stable | 10–11 | Jan 22, 2025 |