This project is not covered by Drupal’s security advisory policy.
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.
Project information
- Project categories: Content display
- Created by davidgserinza on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
