ELI Permalinks
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.
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
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | 10–11 | Jul 31, 2026 | ||
| 1.0.x-dev | Dev | 10–11 | Creates and manages European Legislation Identifier (ELI) permalinks for Drupal-managed files and external URLs. | Jul 29, 2026 |