Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download token-8.x-1.0-beta1.tar.gztar.gz 68.82 KB
MD5: a5c266342747e037b942f8c3bcd682fd
SHA-1: 8ada263ed12f04ec8db1b0f9a61071c44094b405
SHA-256: 0b0957b9125902f11eef9683f78ad645310c1ce35dda8014ff9074aeb0dee668
Download token-8.x-1.0-beta1.zipzip 97.73 KB
MD5: ea3e788e20d7b4b8d2d0c27674c4d9b2
SHA-1: 342ecedce41275a3f605a36b5729b054415e8dda
SHA-256: e1f62602c6e240c60be6c790568f6b3502985310c2c585c28914f9b48dcf144c

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()
Created by: Berdir
Created on: 10 Aug 2016 at 21:22 UTC
Last updated: 20 Sep 2016 at 10:23 UTC
Bug fixes
New features

Other releases