Drupal is a registered trademark of Dries Buytaert
CKEditor 5 Plugin Pack 1.5.4 Minor update available for module ckeditor5_plugin_pack (1.5.4). CKEditor 5 Premium Features 1.8.3 Minor update available for module ckeditor5_premium_features (1.8.3). CKEditor 4 LTS - WYSIWYG HTML editor 1.0.5 Minor update available for module ckeditor_lts (1.0.5). Dxpr Theme 8.1.4 Minor update available for theme dxpr_theme (8.1.4). Protected Content 10.1.123 Minor update available for module proc (10.1.123). OpenFed 13.6.6 Minor update available for distribution openfed (13.6.6). Commerce ML Starter 8.x-1.92 Minor update available for module cmlstarter (8.x-1.92). Entity Registry 1.0.4 Minor update available for module entity_registry (1.0.4). CKEditor 4 LTS - WYSIWYG HTML editor 7.x-1.28 Module ckeditor_lts updated after 17 months of inactivity (7.x-1.28). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Sites allows a single Drupal installation to function as a multi-site platform, where each "site" is defined by a plugin and has its own scoped content, configuration, URLs, permissions, and language. This approach avoids the complexity of multiple Drupal instances or traditional shared-file multisite setups.

Sites turns a single Drupal installation into a multi-site platform. Each "site" is a plugin-defined context that scopes content, configuration, URL generation, permissions, and language — all within one codebase and database. No separate Drupal instances, no shared-files multisite complexity.

Features

  • Plugin-based site definitions — implement a lightweight PHP class to define a site's identity and rules
  • Per-site configuration overrides — different settings, language, and appearance per site context
  • Site-scoped content access control — readers and editors only see the content that belongs to their site
  • Site-aware URL generation — links are automatically scoped to the active site's domain or path prefix
  • Cache context integration — built-in site cache context keeps pages correct and fast across site boundaries
  • Submodules for common patterns: path prefixes, path aliases, Pathauto, language negotiation, ECA integration, and a frontend preview switcher

Requirements

Getting started

Install with Composer:

composer require drupal/sites
drush en sites

Then implement a SitePlugin — an annotated PHP class extending SitePluginBase — to define which content and settings belong to each site. Enable the sites_example submodule for annotated example implementations.

Information about old versions of this module

Activity

Total releases
2
First release
Jun 2026
Latest release
1 month ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Jun 14, 2026
1.x-dev Dev Jun 14, 2026