This project is not covered by Drupal’s security advisory policy.

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

Supporting organizations: 

Project information

Releases