Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

EB Auto Entity Label

No security coverage Under active development

Part of the EB ecosystem · 5 projects

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

Ask your assistant about EB Auto 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

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jan 2026
Latest release
9 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core PHP Release date
1.0.x-dev Dev 10–11 Jan 4, 2026