Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

Sites

8 sites Security covered

Part of the Sites ecosystem · 13 projects

View on drupal.org

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

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jun 2026
Latest release
3 weeks ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.0-beta1 Pre-release 11 Aug 22, 2026
1.0.0-alpha1 Pre-release 10–11 Jun 14, 2026
1.x-dev Dev 11 Jun 14, 2026