Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Statistics Counter Module statistics_counter crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

This module allows you to define URL alias patterns for your entities directly within their definitions. You can create dynamic URLs using Drupal tokens for content types, taxonomy terms, users, and more, all configured through YAML or a spreadsheet interface.

Entity Builder Pathauto adds URL alias pattern support to Entity Builder definitions.

Define pathauto patterns for bundles in YAML or via the spreadsheet interface. This module integrates Pathauto with Entity Builder.

Features

  • URL Patterns in YAML: Define patterns alongside bundle definitions
  • Token Support: Use any Drupal token for dynamic URL generation
  • Multi-Entity: Works with nodes, taxonomy terms, users, and more
  • Smart Sync: Automatic create, update, or skip based on changes

YAML Example

bundle_definitions:
  - entity_type: node
    bundle_id: article
    label: Article
    pathauto_pattern: /blog/[node:title]

  - entity_type: node
    bundle_id: product
    label: Product
    pathauto_pattern: /products/[node:field_category:entity:name]/[node:title]

  - entity_type: taxonomy_term
    bundle_id: tags
    label: Tags
    pathauto_pattern: /tags/[term:name]

Common Token Patterns

  • /[node:title] - Simple title-based URL
  • /blog/[node:title] - With content type prefix
  • /news/[node:created:custom:Y]/[node:title] - Date-based paths
  • /[node:field_category:entity:name]/[node:title] - Taxonomy-based paths
  • /tags/[term:name] - Taxonomy term paths

Installation

composer require drupal/eb_pathauto drupal/pathauto
drush en pathauto eb_pathauto -y

Requirements

Related Modules

Activity

Tracked releases
1
Tracked since
Mar 2026
Latest release
4 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.x-dev Dev Mar 29, 2026