Drupal developer's guide to Canvas
Drupal developer's guide to Canvas
This technical session covers the high-level architecture and inner workings of Drupal Canvas. The session focuses on the back-end aspects that Drupal developers need to know when developing with future Canvas adoption in mind.
Learn the basics of the Canvas data model, the rationale behind its architecture, and which APIs are intended for module developers. I'll cover:
- how to make SDCs and Block Plugins compatible with Canvas
- how metadata and schema validation enables the Canvas UI to create relevant form fields on the fly
- creating new Component Source Plugins, using Paragraphs and Layout Builder as examples
- how Canvas' Component and Code Component config entity types' plumbing powers much of what you see in the UI
We'll finish with an overview of existing debugging tools, available documentation, and configuration management strategies.
The goal: you'll walk away with a sense of accomplishment that you *get* how it works and can expand it!
--- FYI for reviewers:
As DrupalCon Chicago approaches, the session content will likely change to adapt to the state of Canvas at that time.
The slides will contain code extracts, diagrams, and pre-recorded demonstrations, but they won't include deep dives into the actual code.
I will leave time for a Q&A session at the end of the presentation.