This module transforms a link field into a button-like link using Bootstrap styling. It provides a formatter that can be configured in entity view modes to display links as buttons.
This modules adds a link formatter that transform a link field output in a "button like" Bootstrap anchor.
Installation
- Install module as usual: Install contrib modules
- Load bootstrap library CSS as you wish, usually as part of a theme
Configuration
- Goto selected entity view mode and select "Button as Link
Advanced
All formating is done thru a twig template link-formatter-button-link.html.twig and its preprocess function for extra flexibility.
Ask your assistant about Button Link Formatter
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
- field Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.