- Issue created by @rlhawk
Drupal core now has Twig filters for set_attributes
and add_class
. Although the purpose of those filters is different from the one provided by this module, add_attr
, it's still likely to cause some confusion.
Deprecate the existing add_attr
Twig filter and add new ones that are specific to the type of attribute being altered (image_attribute and link_attribute, for instance). We should use the same patterns for naming and execution as the ones provided by Drupal core.
None.
Developers will need to use the new Twig filters in the future, though the deprecated filter will work, in order to provide backward compatibility, for an as-yet-to-be-determined amount of time.
None.
Active
2.0
Code