Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Automatic Entity Label

Security covered Under active development 49,008 sites

This module automatically generates labels for entities using patterns or PHP code, and can hide the default label field to prevent empty values. It supports various entity types and can be enhanced with tokens for more complex label generation.

"Automatic Entity Label" is a small and efficient module that allows hiding of entity label fields. To prevent empty labels it can be configured to generate the label automatically by a given pattern.

This can be used on any entity type, including e.g. for node titles, comment subjects, taxonomy term names and profile2 labels.

Patterns for automatic labels can be constructed with tokens. Drupal core provides a basic set of tokens. For a token selection widget install the token module. Some entity types (e.g. profile2) provide tokens via the entity_token module (part of entity).

Advanced users can use PHP code for automatically generating labels.

Watch the Daily Dose of Drupal screencast by Shane Thomas for a short introduction and demonstration of the module and some of its features.

Notes

  • This module grew out of the Automatic node titles module and aims to be a full replacement.
  • During installation all auto_nodetitle variables (ant_*) are automatically migrated to this module and deleted to prevent conflicts between both modules.
  • Automatic entity labels also works with title replacements provided by the Title module.
  • If you find the module description above confusing, please help improve it: #1713322: Improve project description / terminology

Credits

Huge thanks to Wolfgang Ziegler for all his work on Automatic Nodetitles and to Vasi Chindris for laying the groundwork for this module in #1124484: Automatic Entity Titles: Support for Taxonomy & Other Entities.

Drupal 10–11

Ask your assistant about Automatic Entity Label

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

3 tracked projects depend on this one

Activity

Tracked releases
4
Tracked since
Jun 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
8.x-3.4 Stable 10–11 Jan 5, 2025
8.x-3.3 Stable 10–11 Aug 12, 2024
8.x-3.2 Stable 10–11 Jun 7, 2024
8.x-3.1 Stable 9–10 Jun 4, 2024