This module allows you to display links as Bootstrap buttons. You can customize the button's style, size, and target, and configure these options through the content type's form and display settings.
This module enhances core link field widget and formatter in order to render a link as Bootstrap button. It has ability to configure style, size, status (if disabled) and target.
Compatible with Drupal 8.8+, 9.x, 10.x and 11.x. That means the module doesn't work with 8.7.x and older versions.
Requirements
Features
- Enhanced Button Link field formatter.
- Enhanced Button Link field widget.
- Configuration form.
Installation
- Install as contrib module
- Install and enable theme which supports bootstrap. Or as an option you can load bootstrap library.
Configuration
- Navigate to Administration > Structure > Content types [Content type to edit] > Manage form display.
- Select the 'Enhanced Button Link' as widget for the Link field. Save changes.
- Navigate to Administration > Structure > Content types [Content type to edit] > Manage display.
- Select the 'Enhanced Button Link' as formatter for the Link field. Save changes.
- Navigate to Administration > Content authoring > Enhanced Button Link Settings to manage available button styles (types) and override options.
- Now it is possible to manage link options to render it as a Bootstrap button.
πΊπ¦
This module is maintained by Ukrainian developers. Please consider supporting Ukraine in a fight for their freedom and safety of Europe.Ask your assistant about Enhanced Button Link
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- link Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 8.x-1.2 | Stable | 8β11 | May 8, 2024 |