Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Search API attachments 10.0.13 — Minor update available for module search_api_attachments (10.0.13). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Mismatched entity and/or field definitions 1.2.1 — Minor update available for module meaofd (1.2.1). Release: Lupus Custom Elements Renderer 2.8.1 — Minor update available for module lupus_ce_renderer (2.8.1). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Twig Get URL

23 sites No security coverage Drupal 8–11
View on drupal.org

This module provides a Twig function to easily generate the URL for a node when you only have its ID available. You can then use this function in your Twig templates to display node links.

A simple Twig module to generate the URL of a node using the nid.

Features

Useful for getting a path alias of a node in Twig when you only have the node ID available.

Post-Installation

In Twig, simply use the get_url() function with a node's id as the single parameter.

Supporting this Module

This was created for internal use to extend upon our theme we had but we chose to make it available to the Drupal community. If anyone wants to become a co-maintainer and improve upon it, please let us know.

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
9
Tracked since
Apr 2024
Latest release
3 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.1.2 Stable 8–11 Jun 12, 2026
1.1.1 Stable 8–11 Jun 12, 2026
1.1.0 Stable 8–11 Mar 29, 2026
1.0.5 Stable 8–11 Apr 26, 2024
1.0.4 Stable 8–11 Apr 23, 2024
1.0.3 Stable 8–11 Apr 22, 2024
1.0.2 Stable 8–10 Apr 22, 2024
1.0.1 Stable 8–10 Apr 19, 2024
1.0.0 Stable 8–10 Apr 19, 2024