Install

Works with Drupal: ^11.2 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 1.18 MB
MD5: dcab7ada18d177460443afb4710f715a
SHA-1: c509cc3ae3b10ed5ed06150f4d03e122d883ea03
SHA-256: b9ee7a79297ca0c84a737535c7450dccd87ba0cd1decaec73c066856ca995379
Download zip 1.95 MB
MD5: 551b739ec2d6741f25e5b843e5ad229c
SHA-1: 5cec36395c7e8b00e2ffc28af450569f95838f11
SHA-256: 4e811a5655c90a39a1017d91511548bc8ab7d29551cc766e7749e9d7b9e2e429

Release notes

Third beta of the Sites suite's core. Run the updates (drush updb, or drush deploy): several services changed their arguments, and nine post updates rename, merge and materialise stored settings.

Upgrade together. sites 1.0.0-beta3 conflicts with sites_simple_sitemap < 1.0.0-beta3 and sites_shield < 1.0.0-beta2; update the satellites in the same composer update.

Behaviour changes.

  • An environment's list settings (hostname aliases, …) replace the site's list instead of being appended to it. An update writes the lists each environment showed so far into its own rows, so nothing changes on the page.
  • A main site's people (content members and role holders) count as the people of the sub-sites it runs, when the sub-site is "Run by the main site's people": preview, own-people checks and scoped views follow.
  • A sub-site may have a hostname of its own; under its main site's host it needs its prefix. A site type says whether its sites are main sites, sub-sites or both.
  • One Sites list at /admin/sites that scopes itself to the account, grouped by main site, with a compact view and recently opened sites.
  • A site switch started before negotiation leaves the current site unready instead of ready with the hub; a Fiber started under a switch runs as the request's site.

API changes for custom code. Removed without deprecation (all Sites projects are updated in this round):

  • SitePluginManagerInterface::getSiteIdsByHostname(), getResolvableHostnames(), getSiteIdsByPrefix(), getResolvablePrefixes(), getSubSiteIds(): use Drupal\sites\Service\SiteHostIndexInterface (service sites.host_lookup): siteIdsForHost(), candidateSiteIds(), isEnabled(), subSiteIds().
  • SiteEntityAccessInterface::participatedSites(), SiteRoleManagerInterface::getRoleSiteIdsForUser(), UserSiteAccessInterface::reachableSiteOptions() and reachableSiteIds(): use SiteMembershipInterface::participatedSiteIds().
  • SiteProxy::queryAlter() is gone.

New public API: SiteInterface::getSiteEntity(), SiteSettingsInterface::keys(), PreviewFormState (sites_preview), SiteAspectBulkFormInterface, and collection routes a view's page display replaces. Code tagged @internal changes without notice; satellites can guard against it with InternalSitesApiGuardTrait.

Performance. One cached host index for hostnames, prefixes and sub-sites; the hub list asks only the sites an account is assigned to; alias strings, listing aliases and setting definitions read once per request instead of per site.

Fixes. Language prefixes of a site's own URL (#3622253), preview switcher language fallback (#3622252), links to other sites stay absolute, hreflang no longer builds every site's settings, preview keeps Layout Builder and module admin routes.

Created by: hydra
Created on: 9 Nov 2026 at 21:38 UTC
Last updated: 9 Nov 2026 at 21:38 UTC
Bug fixes
New features

Other releases