Module Description
INTRODUCTION Advanced Link attributes widget provides an additional widget for the link field. The widget allows users to set following attributes/options on their link.
* Target
* a class
* a class for an icon
* visibility for user roles
* icon location
* For a full description of the module, visit the project page: https://www.drupal.org/project/ala
* To submit bug reports and feature suggestions, or track changes: https://www.drupal.org/project/issues/ala
REQUIREMENTS This module requires the following modules:
* Field Link
INSTALLATION * Install as you would normally install a contributed Drupal module. * composer require drupal/ala
CONFIGURATION * Using '**Manage form display**' select the 'Advanced Link Attributes' widget. * Global class list cab be configured in module configuration page.
* Class Settings: you can have a global class list (/admin/config/advance_link_attributes) or you can define for every single field. you have following options in every single field.
* Icon Settings: you can activate/deactivate icon field for every single field
* User Role settings: you activate/deactivate role selectbox for every single field
* Text Color & BG color: you activate/deactivate color inputs for every single field
Select Advanced Link Attributes formatter and you have following options.
* Class Option (where must be added the class selected)
* Link Element (as attribute class of tag "a")
* Parent Element (as attribute class of parent element)
* Icon Position
* As tag "i" inside element
* As a class
* As data-attr
* Role Visibility
* Hide (No render)
* Visually Hidden (Rendered but hidden)
RECOMMENDED MODULES -------------------
* Link Attributes widget: https://www.drupal.org/project/link_attributes * Menu attributes: https://www.drupal.org/project/menu_attributes * Menu Link Attributes: https://www.drupal.org/project/menu_link_attributes * Menu Item Extras: https://www.drupal.org/project/menu_item_extras
MAINTAINERS -----------
Current maintainers: * Aaron Armstrong ( Promet Source ) - https://www.drupal.org/u/aastrong * Kushan Gunasinghe - https://www.drupal.org/user/3619158
* Target
* a class
* a class for an icon
* visibility for user roles
* icon location
* For a full description of the module, visit the project page: https://www.drupal.org/project/ala
* To submit bug reports and feature suggestions, or track changes: https://www.drupal.org/project/issues/ala
REQUIREMENTS This module requires the following modules:
* Field Link
INSTALLATION * Install as you would normally install a contributed Drupal module. * composer require drupal/ala
CONFIGURATION * Using '**Manage form display**' select the 'Advanced Link Attributes' widget. * Global class list cab be configured in module configuration page.
* Class Settings: you can have a global class list (/admin/config/advance_link_attributes) or you can define for every single field. you have following options in every single field.
* Icon Settings: you can activate/deactivate icon field for every single field
* User Role settings: you activate/deactivate role selectbox for every single field
* Text Color & BG color: you activate/deactivate color inputs for every single field
Select Advanced Link Attributes formatter and you have following options.
* Class Option (where must be added the class selected)
* Link Element (as attribute class of tag "a")
* Parent Element (as attribute class of parent element)
* Icon Position
* As tag "i" inside element
* As a class
* As data-attr
* Role Visibility
* Hide (No render)
* Visually Hidden (Rendered but hidden)
RECOMMENDED MODULES -------------------
* Link Attributes widget: https://www.drupal.org/project/link_attributes * Menu attributes: https://www.drupal.org/project/menu_attributes * Menu Link Attributes: https://www.drupal.org/project/menu_link_attributes * Menu Item Extras: https://www.drupal.org/project/menu_item_extras
MAINTAINERS -----------
Current maintainers: * Aaron Armstrong ( Promet Source ) - https://www.drupal.org/u/aastrong * Kushan Gunasinghe - https://www.drupal.org/user/3619158
Module Link
Project Usage
309
Security Covered
Not Covered By Security Advisory
Version Available
Production
Module Summary
The module aims to provide users with the ability to set various attributes and options for link fields, such as target, class, icon, visibility for user roles, and icon location.
Data Name
ala