Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Data-hover Filter

No security coverage Under active development 1 sites

This module adds a text filter that automatically applies a `data-hover` attribute to links, using the link's text as the attribute's value. This is helpful for creating custom CSS effects on links.

Adds a textfilter which adds a data-hover attribute with the value of the link-text to links.

So:
<a href="http://www.drupal.org">Link to Drupal</a>
Becomes:
<a data-hover="Link to Drupal" href="http://www.drupal.org">Link to Drupal</a>

This is useful if you want to make fancy CSS links as seen here for instance.

Drupal 8–11

Ask your assistant about Data-hover Filter

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

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Apr 2025
Latest release
3 months ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Core PHP Release date
2.1.0 Stable 8–11 Jun 26, 2026
2.0.0 Stable 8–11 Apr 20, 2025