https://github.com/decipher/field_tokens
https://www.drupal.org/project/field_tokens
https://github.com/decipher/field_tokens
Last synced: 8 months ago
JSON representation
https://www.drupal.org/project/field_tokens
- Host: GitHub
- URL: https://github.com/decipher/field_tokens
- Owner: Decipher
- Created: 2015-08-04T01:06:18.000Z (over 10 years ago)
- Default Branch: 8.x-1.x
- Last Pushed: 2023-12-15T14:57:19.000Z (over 2 years ago)
- Last Synced: 2025-04-08T13:50:46.958Z (12 months ago)
- Language: PHP
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Field tokens
[](
https://travis-ci.org/Decipher/field_tokens)
The Field tokens module add two additional types of field tokens; Formatted
fields and field properties.
### Formatted field tokens
Formatted Field tokens are tokens allowing one or many field values to be
rendered via the default or specified field formatter.
The format is:
```
[PREFIX:DELTA(S):FORMATTER:FORMATTER_SETTING_KEY-FORMATTER_SETTING_VALUE:...]
```
(e.g. **[node:field_image-formatted:0,1:image:image_style-thumbnail]**).
### Field property tokens
Field property tokens are tokens allowing access to field properties on one or
many fields.
Properties are dependent on the field type.
The format is:
```
[PREFIX:DELTA(S):PROPERTY]
```
(e.g. **[node:field_image-formatted:0:entity:url]**).
## Required modules
- [Token](https://www.drupal.org/project/token)