Search by

drupal / varbase_canvas_base

Drupal-Infrastructure

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

Issues

Type:drupal-recipe

pkg:composer/drupal/varbase_canvas_base

Statistics

Installs: 769

Dependents: 1

Suggesters: 0

1.0.1 2026-09-08 07:48 UTC

This package is auto-updated.

Last update: 2026-09-08 10:00:36 UTC


README

Varbase

Varbase Canvas Base

pipeline status Varbase Canvas Base Automated Functional Testing

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_page entity, 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_translate stays in varbase_i18n_base — a language concern.
  • The canvas_html_inline / canvas_html_block text format permissions stay in varbase_editor_base — an editor concern.
  • canvas_icon_picker belongs to varbase_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