Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

field_token_value

3,995 sites Security covered
View on drupal.org

This module creates a Field API type and widget which allows a field to be created with the value containing tokens. A simple field formatter is also provided to allow for the field value to be output on the page.

The value and tokens for the field are set within the instance settings with the field value being set in a presave.

An example of when this module could be useful is if you are wanting to combine the output of multiple fields for use in Views, or providing tokens within an additional string like "This page was last updated [node:changed]". This field is then available within the manage display of the entity bundle.

Note: The input field with the default value in the create/edit form is hidden. You can tell whether it is working, as the field value should display once saved. If it doesn't then it is likely that the token couldn't be replaced which is likely because either the token itself isn't available at the time of saving or the token was not added correctly and can't be found.

Requirements

  • Concat Field: Concatenates the display values of selected fields within the bundle into a single field on save. Does not use tokens and only concatenates the field values with a space.
  • Field default token: Enables the use of tokens as field default values. Adds the option to existing fields instead of creating a new field. Because it is a default value it can be overwritten on the entities creation form.
  • Computed Field: Allows for fields to be populated through the use of PHP code, including other other values. This module is intended to be used by PHP developers to insert & execute PHP code on a Drupal website.

Activity

Total releases
1
First release
Feb 2025
Latest release
1 year ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
3.1.0 Stable Feb 25, 2025