Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

TokenLink

No security coverage
View on drupal.org

Features

## Installation
The module depends on token_filter and twig_tweak modules.

Post-Installation

After the installation, you should enable token replacement for your text format
here /admin/config/content/formats.
To customize token templates, copy them in your site theme in /templates/tokenlink folder.

## TokenLink example usage:
- Node tokens:

`[tokenlink:node:123]`

`[tokenlink:node:32:task]` - with key for template

`[tokenlink:node:32#MyTitle,_blank,Myclass active]` - with custom link title, target and class

- User entity tokens:

`[tokenlink:user:1]`

- Comment link token:

`[tokenlink:comment:1]`

## Media tokens
If media module enabled, these tokens became available:
- This token for Image type media files only, which shows image preview with thumbnail image style.
`[tokenlink:media:1:thumbnail]`

- This token for document type media files only, which shows generic image preview for media document.
`[tokenlink:media:2:document]`

- Token for Image media which open image in modal popup is
[tokenlink:media:1:modal]

## Commerce product tokens
Under the development...

Additional Requirements

Similar projects

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
6
Tracked since
Dec 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.4 Stable Aug 28, 2024
1.0.3 Stable Aug 28, 2024
1.0.2 Stable Dec 27, 2023
1.0.1 Stable Dec 26, 2023
1.0.0 Stable Dec 25, 2023
1.0.x-dev Dev Dec 25, 2023