Skip to content

Drupal Integration Overview

apps/docs/src/content/docs/drupal-integration/overview Click to copy
Copied! apps/docs/src/content/docs/drupal-integration/overview

WC-2026 components are designed for zero-coupling Drupal integration. The library works with Drupal 10/11 without requiring custom modules or PHP changes.

┌─────────────────────────────────────────┐
│ Drupal CMS │
│ Content types, fields, views, blocks │
├─────────────────────────────────────────┤
│ TWIG Templates │
│ Render content using WC-2026 tags │
├─────────────────────────────────────────┤
│ Drupal Behaviors │
│ Initialize components, handle events │
├─────────────────────────────────────────┤
│ WC-2026 Library │
│ CDN or npm distribution, auto-upgrade │
└─────────────────────────────────────────┘
MethodBest ForSetup Time
CDNQuick prototyping, small sitesMinutes
npmCustom themes, full controlHours
ModuleEnterprise, multi-siteDays
  1. No PHP code changes - Components work via HTML/TWIG
  2. No custom modules - Standard TWIG template overrides
  3. Progressive enhancement - Content remains accessible without JS
  4. Drupal Behaviors - Full lifecycle integration
  5. Zero coupling - Library updates don’t break Drupal

For the complete Drupal integration specification (98,000+ words), see the Pre-Planning: Drupal Integration Guide.