Lets site builders enable per-content Canvas-based layout editing on the full content view mode for selected content types.
Canvas Override provides Layout Builder-style per-content layout overrides using the Canvas module. When enabled for a content type, each content item can have its own Canvas layout stored in a field_canvas_layout field. Content without a custom layout falls back to the shared ContentTemplate default for the content type.
- Drupal ~11.3.0
- drupal/canvas ^1
composer require drupal/canvas_override
drush en canvas_override- Go to Structure > Content types and edit a content type.
- Open the Canvas layout fieldset in the vertical tabs.
- Check Enable per-node Canvas layout editing on the full content view mode.
- Save the content type.
This automatically:
- Creates a
field_canvas_layout(component_tree) field on the content type. - Configures the
fullanddefaultview displays to render it.
Once enabled for a content type, editors see a Canvas tab on each content item. Clicking it opens the per-content Canvas editor where they can visually compose a unique page layout.
| Path | Description |
|---|---|
/node/{node}/canvas |
Open the per-content Canvas editor |
/node/{node}/canvas/default |
Edit the shared ContentTemplate default layout |
/node/{node}/canvas/reset |
Reset the content layout to the content type default |
Canvas Override provides three permission levels:
- Administer Canvas Override — Enable or disable Canvas Override on content types.
- Use Canvas Override for all content types — Edit per-content layouts on any enabled content type.
- Use Canvas Override for [type] — Edit per-content layouts for a specific content type (generated dynamically).
- When content has a non-empty
field_canvas_layout, its rendered output is replaced entirely with the per-content Canvas layout. Content without a custom layout falls back to the shared ContentTemplate default. - Content type forms include a Canvas layout fieldset where administrators can enable or disable per-content layout editing.
- The
field_canvas_layoutfield is created automatically when Canvas Override is enabled on a content type, including during config imports and recipe installations. - Content fields (body, images, etc.) are hidden from the Canvas editor's Page data panel. Editors use the standard Drupal edit form for field data and the Canvas editor for layout.
- A Canvas operation link appears in content listings for users with the appropriate permission.
For more details, see the documentation.
GPL-2.0-or-later