Modules
Every module of the Sites ecosystem. A module that ships with another project installs from that project.
Sites¶
Runs many sites from one Drupal installation, each with its own hostname or path, content, settings and roles.
- Machine name:
sites - Project: drupal.org/project/sites
- Requires:
environment_context,form_decorator,views_query
Sites analytics¶
Gives each site its own Matomo and Google Tag ids.
- Machine name:
sites_analytics - Project: drupal.org/project/sites_analytics
- Requires: sites
Sites clone¶
Clones a site of the Sites platform: its settings, a clone method per content bundle, and the links of its per-site menus.
- Machine name:
sites_clone - Project: drupal.org/project/sites_clone
- Requires: sites, sites_menu, sites_ui
Sites content¶
Provides sites created in the admin UI and records which content belongs to which site.
Sites content overrides¶
Lets a site change fields of shared content for itself without changing it for other sites.
- Machine name:
sites_content_overrides - Project: drupal.org/project/sites_content_overrides
- Requires:
form_decorator,navigation, sites, sites_preview
Sites content overrides behaviors¶
Lets site builders mark each entity type behavior as overrideable per site.
- Machine name:
sites_content_overrides_behaviors - Ships with: sites_content_overrides
- Requires:
entity_type_behaviors, sites_content_overrides
Sites content overrides Content Moderation¶
Gives each site override its own moderation state.
- Machine name:
sites_content_overrides_content_moderation - Ships with: sites_content_overrides
- Requires: sites_content_overrides,
content_moderation
Sites content overrides Layout Builder¶
Lets a site give shared content its own Layout Builder layout.
- Machine name:
sites_content_overrides_layout_builder - Ships with: sites_content_overrides
- Requires: sites_content_overrides,
layout_builder
Sites content overrides revisions¶
Adds a revision history per site to view, restore and delete override revisions.
- Machine name:
sites_content_overrides_revisions_ui - Ships with: sites_content_overrides
- Requires: sites_preview, sites_content_overrides
Sites devel¶
Shows a debug block with the current site, route and language, and opens Devel dumps to signed-in users in development mode.
- Machine name:
sites_devel - Project: drupal.org/project/sites_devel
- Requires: sites,
devel,block_plugin_view_builder
Sites Diff¶
Lists each site's override revisions on a node's Diff revisions page and compares an override with the canonical revision.
- Machine name:
sites_diff - Project: drupal.org/project/sites_diff
- Requires:
diff,form_decorator, sites_content_overrides, sites
Sites ECA¶
Adds ECA actions and a condition for sites: load a user's sites, find an entity's sites, switch the current site, check for the hub.
- Machine name:
sites_eca - Project: drupal.org/project/sites_eca
- Requires: sites,
eca
Sites file¶
Limits private file downloads and file reuse to the sites of the content that uses each file.
Sites language¶
Gives each site its own languages, default language and language detection.
Sites Linkit¶
Makes Linkit's matchers and link widgets site-aware and pins links to a site.
- Machine name:
sites_linkit - Project: drupal.org/project/sites_linkit
- Requires: sites,
linkit
Sites llms.txt¶
Shows each site only the llms.txt sections assigned to it.
- Machine name:
llms_txt_sites - Project: drupal.org/project/llms_txt_sites
- Requires:
llms_txt, sites_content
Sites menu¶
Lets each site keep its own links in a shared menu.
- Machine name:
sites_menu - Ships with: sites
- Requires: sites,
menu_link_content,menu_ui,form_decorator
Sites Metatag¶
Sets the canonical link and hreflang alternates of content pages from the sites the content belongs to, through Metatag.
Sites path alias¶
Scopes URL aliases to sites, so different sites can use the same alias for different content.
Sites path prefix¶
Serves sub-sites under a path prefix on their main site's hostname.
Sites Pathauto¶
Generates a URL alias per site from Pathauto patterns.
- Machine name:
sites_pathauto - Ships with: sites
- Requires: sites_path_alias,
pathauto
Sites preview¶
Lets a site's people view the site from the hub at /preview/{site}, as it looks on its own host.
Sites Preview Link¶
Site integration for Preview Link: one shareable preview URL per site an entity belongs to.
- Machine name:
sites_preview_link - Project: drupal.org/project/sites_preview_link
- Requires:
preview_link, sites
Sites Redirect¶
Gives each site its own redirects, so two sites can redirect the same path to different places.
- Machine name:
sites_redirect - Project: drupal.org/project/sites_redirect
- Requires: sites, sites_path_alias,
redirect
Sites RobotsTxt¶
Serves each site its own robots.txt.
- Machine name:
sites_robotstxt - Project: drupal.org/project/sites_robotstxt
- Requires: sites,
robotstxt
Sites Search API¶
Indexes site memberships with Search API and filters search results to the current site.
- Machine name:
sites_search_api - Project: drupal.org/project/sites_search_api
- Requires:
search_api, sites
Sites Shield¶
Puts a site behind an HTTP Basic-Auth user name and password.
- Machine name:
sites_shield - Project: drupal.org/project/sites_shield
- Requires: sites
Sites Simple XML Sitemap¶
Gives each site its own XML sitemap.
- Machine name:
sites_simple_sitemap - Project: drupal.org/project/sites_simple_sitemap
- Requires: sites,
simple_sitemap
Sites Tagify¶
Renders the site picker and the add-content picker as Tagify widgets.
Sites taxonomy¶
Gives each site its own vocabulary list and term overviews when terms belong to sites.
- Machine name:
sites_taxonomy - Ships with: sites
- Requires: sites, sites_content,
taxonomy,form_decorator
Sites Trash¶
Scopes the Trash bin to sites and leaves trashed content out of site counts and reports.
- Machine name:
sites_trash - Ships with: sites
- Requires: sites, sites_content,
trash
Sites UI¶
Provides the admin pages for sites: the sites list, site dashboards, the configuration hub and the reports.
Sites Webform¶
Assigns webforms to sites and limits webform lists and references to the sites' webforms.
- Machine name:
sites_webform - Project: drupal.org/project/sites_webform
- Requires: sites,
webform