Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Release notes
This is the first beta release of Token for Drupal 8.
This includes a large number of improvements and many new tokens. Most importantly is extensive support for field tokens (for both base and configurable fields), including chained tokens for entity reference fields and image urls and information based on image styles (previously provided by Imagecache Tokens).
This means that any content entity gets full token integration for its fields, without having to define anything at all. Limitation: Base fields are currently only defined when the token type for a given entity type is not explicitly defined, to prevent confusing duplicate tokens.
Another important new feature is support for [node:menu-link] tokens while creating and updating menu link definitions when editing a node.
Changes since 8.x-1.0-alpha2:
- #2780423 by Bambell, acbramley: Menu link enabled status overwritten on node form submit
- #2769705 by Bambell: Menu link of default language overwritten by translations if token module installed
- #2772673 by Bambell, Berdir: Provide tokens for referenced entities in the active language
- #2611866 by Bambell: Add image style tokens for image fields
- #2769577 by ziomizar, Gravypower: Fixed Field xxx is unknown exception.
- #2771101 by ashwin.shaharkar: Replace deprecated entity->urlInfo() with entity->toUrl()
- #2493559 by Bambell, jhedstrom, Maouna, larowlan, Berdir, gapple: Chained tokens for field tokens
- #2729727 by loopduplicate, kchh90, hswong3i: [node:source:title] not retrieving translation source node properly
- #2756241 by Chandan Chaudhary, rajeshwari10: Removed deprecated usage of SafeMarkup::checkPlain from the codebase
- #2759193 by rajeshwari10, Chandan Chaudhary: Replace all calls of the deprecated Drupal::url() from the code base
- #2761969 by Bambell: Do not define config entities as token types until we have useful tokens
- #2761581 by Nitesh Pawar: Remove unwanted imports
- #2621598 by czigor, Bambell, dawehner, hussainweb: Add support for field properties
- #2760315 by Bambell: Some nested tokens should not show as top-level tokens
- #2493567 by Bambell, bojanz, Maouna, ivanjaros, juampynr, miiimooo, IT-Cru: Allow field tokens also for base fields
- #2670120 by larowlan, hussainweb, Bambell: Patterns with node:menu-link tokens don't work on first node save
- #2657332 by heykarthikwithu, hussainweb: Remove unused imports in the code base
- #2682289 by Neelanjana Das, hussainweb: Fixed Token ESLint error
- #2693005 by hussainweb, pashupathi nath gajawada: entityManager deprecated method removed from Token Code base
- #2737889 by hussainweb: Upgrade to latest jquery treetable
- #2686959 by Mirroar: token_requirements should not call ThemeManager::render()
- #2728067 by dbt102, hussainweb: Update help text
- #2734163 by neerajsingh: Remove @file tag docblock from files that contain a namespaced class/interface/trait, whose file name is the class name with a .php extension
- #2702379 by Dave Reid: Simplified error messages in token_element_validate()
- #2702379 by Dave Reid: Review @todos in token_element_validate()