Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Link Text Options

57 sites Security covered Drupal 10–11 Link ecosystem
View on drupal.org

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.

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
1
Tracked since
May 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.1 Stable 10–11 May 27, 2025