Render: alter link, add class¶
Plugin ID: eca_render_alter_link_add_class
Available since: 3.0.3
Alter a link element by adding a class to its attributes.
Fields¶
Class— config key:class-
The class to add to the link. Leave empty to not add a class when the classes will be reset.
This field supports tokens.Type:
textfield· Required: no · Default: empty string Reset classes— config key:reset-
If checked, the currently set classes will be removed before adding the new class.
Type:
checkbox· Required: no · Default:false