Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Cms 2.1.6 Update released for Drupal core (2.1.6)! Release: Webform 6.3.1 Minor update available for module webform (6.3.1). Release: Webform 6.2.12 Minor update available for module webform (6.2.12). Release: CAS 3.1.1 Minor update available for module cas (3.1.1). Release: Disable Login Page 1.2.1 Minor update available for module disable_login (1.2.1). Module Revived: Focal Point 2.1.3 Module focal_point updated after 22 months of inactivity (2.1.3). Release: Single Page Protection 1.0.12 Minor update available for module spp (1.0.12). Release: News Ticker For Drupal 1.0.14 Minor update available for module news_ticker (1.0.14). Release: Ágora Transparency Theme 1.2.1 Minor update available for theme agora_theme (1.2.1). Usage Milestone: Migrate Conditions Module migrate_conditions crossed 1,000 active installs.

Canvas Page Menu

No security coverage

Part of the Canvas ecosystem · 37 projects

View on drupal.org

Adds the "Provide a menu link" option and a non-enforcing Pathauto alias suggestion to Canvas's Page entity — filling two gaps that Canvas leaves open by design: its Page entity isn't a node (so core's Menu UI can't touch it), and Canvas disables Pathauto to keep URL aliases under manual control.

Features

Canvas's Page entity is a standalone content entity, not a node, so core's menu_ui module can't offer a "Provide a menu
link" option on it — and Canvas deliberately disables Pathauto on every save to keep the Page's URL alias manually controlled. This module bridges both gaps without fighting Canvas's design:

  • Menu settings field — a field on the Page entity equivalent to node's "Menu settings" fieldset: editors can provide a menu link and set its title, description, parent, and weight, right from the Canvas editing experience.
  • Menu-aware tokens — exposes [canvas_page:menu-link:*] tokens (via the Token module's menu-link token type), so Pathauto patterns can build aliases from a page's position in the menu, e.g. /[canvas_page:menu-link:parents:join-path]/[canvas_page:title].
  • Non-enforcing Pathauto suggestion — when a configured pattern uses those menu tokens and the alias field is empty, the module pre-fills a suggestion the editor can accept, edit, or clear. Pathauto is never allowed to generate or overwrite an alias on its own, and an existing alias is never touched — Canvas's forced manual control of the Page's URL alias stays intact.
  • Real field storage, not a transient form value — the menu link is stored in an actual field (menu_settings), so Canvas's editor (which detects unsaved changes by hashing the entity's field values) correctly notices when it changes.
  • Non-destructive sync — the underlying menu_link_content entity is kept in sync with the field on insert, update, and delete, but a save that doesn't change menu_settings never touches the menu link — so changes made directly in the menu admin UI (like reordering) are preserved.

Use this module whenever you're using Canvas and need Pages to appear in site navigation menus and/or want their URL aliases to reflect their place in that menu — both things editors get for free with nodes but not with Canvas Pages out of the box.

Post-Installation

  1. Create a Pathauto pattern for the Canvas Page entity type at /admin/config/search/path/patterns, built from [canvas_page:menu-link:*] tokens (e.g. /[canvas_page:menu-link:parents:join-path]/[canvas_page:title]).
  2. Visit Configuration > Content > Canvas Page menu settings (/admin/config/content/canvas-page-menu) to choose which menus are offered in the "Parent link" dropdown. Defaults to main. Requires the Administer Canvas Page menu settings permission.
  3. Edit a Canvas Page. Under Menu settings, check "Provide a menu link" to place it in a menu.
  4. If the alias field is empty and a matching pattern is configured, it's pre-filled with a suggestion computed from that pattern — accept, edit, or clear it before saving.

No content type or extra admin screen beyond the settings form above is needed; everything else surfaces directly on the Canvas Page edit form.

Additional Requirements

Beyond Drupal core, this module requires:

Similar projects

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

Releases

Version Type Core Release date
1.0.0-alpha1 Pre-release 11 Sep 24, 2026