Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Link Text Options

Security covered Under active development 59 sites

Part of the Link ecosystem · 35 projects

This module restricts the link text that content editors can enter for a link field by providing a select list of predefined options instead of a free-text input. This is useful when you want to enforce specific button text or other predefined link labels.

The Link Text Options module allows you to change the link text input on a link field from a textfield into a select/options element effectively restricting what text a content editor can enter for link text.

eg. You have a node with a link field that is output as a button, but you only want the button to have certain text.
Note though, the module does not validate the value.
Also, when changing the options in the settings, previous values are not checked, so a link field could have a value that is not one of the options if it was set before the options settings were saved.

If there is only 1 option for the link text, then this option is set as default and the link text textfield is disabled.

Drupal 10–11

Ask your assistant about Link Text Options

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

  • link Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jun 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
1.0.1 Stable 10–11 May 27, 2025
1.0.0 Stable 10 Jun 11, 2024
1.0.x-dev Dev 10–11 Jun 5, 2024