Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module integrates automatic label generation with Entity Builder definitions. It allows you to create labels for entities using token patterns defined in YAML or through a spreadsheet interface. You can configure these labels to be automatically generated, optional, hidden, or prefilled, with support for various Drupal tokens.

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
6 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

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