Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

ELI Permalinks

No security coverage Under active development

This module allows Drupal sites to create, manage, and publish persistent URLs following the European Legislation Identifier (ELI) model. It lets administrators link ELI identifiers to files stored within Drupal or external URLs, generating structured paths from controlled components.

ELI Permalinks enables Drupal sites to create, publish, and manage persistent
URLs based on the European Legislation Identifier (ELI) URI model.

Administrators can associate an ELI identifier with either a Drupal-managed
file or a trusted external URL. The module generates the public path from
controlled ELI components and provides an administrative interface for
creating, editing, enabling, disabling, and deleting identifiers.

Features

  • Generates human-readable and machine-readable ELI paths.
  • Implements the Spanish ELI URI template:

    /eli/{jurisdiction}/{type}/{year}/{month}/{day}/{number}/{version}/{version_date}/{language}/{format}

  • Supports work-, expression-, and manifestation-level identifiers by making
    the corresponding final URI components optional.
  • Provides controlled vocabularies for jurisdiction, legal document type,
    version, language, and format.
  • Resolves identifiers to Drupal-managed files or trusted external URLs.
  • Validates that file and external URL destinations are mutually exclusive.
  • Enforces unique ELI paths.
  • Supports original (dof) and consolidated
    (con) legal document versions.
  • Provides a dedicated permission and a complete administrative CRUD
    interface.
  • Supports Drupal 10 and Drupal 11.

Requirements

No contributed modules are required.

The module uses the File and Options modules provided by Drupal core.

Installation

composer require drupal/eli_permalinks
drush en eli_permalinks -y
drush cr

Grant the Administer ELI permalinks permission and navigate
to:

Administration > Content > ELI Permalinks

Standards

The module is based on the European Legislation Identifier framework and the
Spanish ELI URI implementation published by the Agencia Estatal Boletín
Oficial del Estado.

Similar projects

  • Persistent Identifiers provides a generic API for
    identifiers such as DOI, ARK, and Handle, but does not implement the ELI
    legal-document URI model.
  • Permalink and Permanent Filelink provide
    generic stable links, but do not generate structured European Legislation
    Identifiers.

Ask your assistant about ELI Permalinks

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
2
Tracked since
Jul 2026
Latest release
2 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0-alpha1 Pre-release 10–11 Jul 31, 2026
1.0.x-dev Dev 10–11 Jul 29, 2026