How phenaproxima/canvas-demo works
This repository packages a throwaway Drupal Canvas demo rather than implementing Canvas itself. The principal workflow is to install the Drupal site, enter Canvas, and explore sample pages assembled with the demo design system. Recipes provide starter configuration and content; the installer profile and its client-side progress-bar theme support Drupal CMS installation. The source excerpts show page data and installer UI, not the runtime wiring among Drupal, Canvas, and recipe-applied content, so those links are documented at the package level rather than inferred from unsampled code.
Main entry points: drupal_cms_installer_theme.theme Installer theme · xb-page.php Sample page data · canvas_demo/recipe.yml Canvas demo recipe · canvas_page/recipe.yml Canvas page recipe
Components 11
Canvas demo
- Drupal site
- Canvas builder
- Demo design system
Sample content
- Canvas demo recipe
recipes/canvas_demo/recipe.yml - Canvas page recipe
recipes/canvas_page/recipe.yml - Demo block recipe
recipes/starshot_demo_blocks/recipe.yml - Sample page data
web/profiles/drupal_cms_installer/xb-page.php
Installer UI
- Installer profile
web/profiles/drupal_cms_installer/drupal_cms_installer.profile - Installer theme
web/profiles/drupal_cms_installer/theme/drupal_cms_installer_theme.theme - Progress bar
web/profiles/drupal_cms_installer/theme/js/progress.js
Other components
- Site editor
Connections 9
- Site editor → Drupal site: opens demo
README.md - Drupal site → Canvas builder: provides access
README.md - Canvas builder → Demo design system: uses
- Canvas builder → Sample page data: edits sample
- Canvas demo recipe → Demo design system: configures
- Canvas page recipe → Sample page data: provides content
- Demo block recipe → Demo design system: provides blocks
- Installer profile → Installer theme: uses theme
- Installer theme → Progress bar: renders