Drupal is a registered trademark of Dries Buytaert

Entity Builder Auto Entity Label adds automatic label generation to Entity Builder definitions.

Configure automatic entity titles using token patterns in YAML or via the spreadsheet interface. This module integrates Auto Entity Label with Entity Builder.

Features

  • Auto Labels in YAML: Define label patterns alongside bundle definitions
  • Multiple Modes: Enabled (hidden), optional, or prefilled title field
  • Token Support: Use any Drupal token for label generation
  • Smart Sync: Automatic create, update, or skip based on changes

Status Modes

  • disabled: Normal title field behavior
  • enabled: Auto-generate label, hide title field
  • optional: Generate only if title is empty
  • prefilled: Prefill with generated label, allow editing

YAML Example

bundle_definitions:
  - entity_type: node
    bundle_id: event
    label: Event
    auto_entitylabel_status: enabled
    auto_entitylabel_pattern: "[node:field_event_date:custom:Y-m-d] - [node:field_event_name]"

  - entity_type: node
    bundle_id: product
    label: Product
    auto_entitylabel_status: enabled
    auto_entitylabel_pattern: "[node:field_sku] - [node:field_product_name]"

  - entity_type: node
    bundle_id: contact
    label: Contact
    auto_entitylabel_status: optional
    auto_entitylabel_pattern: "[node:field_first_name] [node:field_last_name]"

Common Token Patterns

  • [node:field_name] - Single field value
  • [node:field_first] [node:field_last] - Multiple fields
  • [node:field_date:custom:Y-m-d] - [node:field_title] - Date formatting
  • [node:field_category:entity:name]: [node:field_title] - Entity reference

Installation

composer require drupal/eb_auto_entitylabel drupal/auto_entitylabel
drush en auto_entitylabel eb_auto_entitylabel -y

Requirements

Related Modules

Activity

Total releases
1
First release
Jan 2026
Latest release
2 months ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.x-dev Dev Jan 4, 2026