drupal / varbase_canvas_base
A foundational recipe for Drupal Canvas in Varbase. Installs Drupal Canvas and the Canvas Override module for per-content Canvas layout editing.
Package info
git.drupalcode.org/project/varbase_canvas_base.git
Type:drupal-recipe
pkg:composer/drupal/varbase_canvas_base
Requires
- drupal/canvas: ~1
- drupal/canvas_override: ~1.0.0
- drupal/core: ~11.4.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-08 10:00:36 UTC
README
Varbase Canvas Base
A foundational recipe for Drupal Canvas in Varbase. It owns the Drupal Canvas module installs, and nothing else.
Features
Modules
- canvas — Drupal Canvas: the
canvas_pageentity, the component library, patterns, content templates and the page-region (header / footer) editor. - canvas_override — per-content Canvas layout editing on the full view mode of selected content types, with a fallback to the shared content template.
Scope
This recipe installs no content types, no fields, and no permissions.
Permissions stay with the recipe that owns the role they belong to. The Drupal
Canvas page and component library grants (create / edit / delete
canvas_page, publish auto-saves, administer folders, administer patterns,
administer components, administer content templates, administer page
template, edit canvas global regions) live in varbase_content_base, because
a Canvas page is content and those roles are content roles. Keeping them there
also means the Vardot site templates, which apply varbase_content_base
directly, are unaffected by this recipe.
Applied by varbase_starter. The Vardot site templates (educare,
horizonaid, rightup) deliberately do not require it — the canvas module
install stays in varbase_media_base, which they apply directly.
Three neighbouring pieces are deliberately left where they are:
canvas_translatestays invarbase_i18n_base— a language concern.- The
canvas_html_inline/canvas_html_blocktext format permissions stay invarbase_editor_base— an editor concern. canvas_icon_pickerbelongs tovarbase_admin_base.
Installation
Add the recipe using composer:
composer require drupal/varbase_canvas_base:~1.0.0
Change directory to /web or /docroot
Run the Drupal recipe bash script:
bash core/scripts/drupal recipe recipes/varbase_canvas_base
or
Run the Drush recipe command:
drush recipe ../recipes/varbase_canvas_base
Maintainers
License
GPL-2.0-or-later
