Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: MCP Sentinel 2.33.0 — Minor update available for module mcp_sentinel (2.33.0). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Localgov Microsites Demo

Security covered

Part of the Localgov ecosystem · 82 projects

View on drupal.org

This module provides example content for demonstrating LocalGov Microsites. It creates three demo microsites with user accounts, content, and sets up domain records suitable for local development environments.

LocalGov Microsites Demo Content

Example content for demonstrating LocalGov Microsites and helping local development.

Hostnames are set to DDEV domains by default

When this module is installed, it creates or updates domain records for the three demo microsites with these hostnames:

  • localgov-micro-1.ddev.site
  • localgov-micro-2.ddev.site
  • localgov-micro-3.ddev.site

Notes:

  • If your local environment uses different hostnames, update each domain record after install.

What this module does

  • Creates 3 Microsites
    • Scarfolk Independent Living
    • Scarfolk People's Park
    • Scarfolk Digital Blog
  • Creates 6 users
    • living-controller
    • living-editor
    • park-controller
    • park-editor
    • blog-controller
    • blog-editor
  • Provides demo content via the default_content module.
  • Includes groups, users, relationships, nodes, taxonomy terms, files, and media entities.
  • Optional: on module install, creates or updates per-group domain settings for demo microsites (hostname, site name, slogan, and front page). Defaults are provided.

Updating exported default content

From the Drupal web root, export content already listed in localgov_microsites_demo.info.yml:

drush dcem localgov_microsites_demo

Adding new demo content

  1. Add the new entity UUID(s) to localgov_microsites_demo.info.yml.
  2. Export the entity and its references:
drush dcer  --folder=modules/contrib/localgov_microsites_demo/content/

Notes:

  1. --folder is relative to the Drupal web root.
  2. Do not prefix --folder with /.
  3. Keep UUID lists in localgov_microsites_demo.info.yml in sync with the exported files.

Running tests

From the Drupal web root, run the kernel test class for this module:

php ./core/scripts/run-tests.sh --php /usr/bin/php --module localgov_microsites_demo --class "Drupal\\Tests\\localgov_microsites_demo\\Kernel\\DemoInstallKernelTest"

Reference

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
8
Tracked since
Jul 2026
Latest release
2 months ago
Releases (12 mo)
8 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.1.0-rc1 Pre-release 10–11 Jul 14, 2026
1.1.0-beta1 Pre-release 10–11 Jul 14, 2026
1.0.0-beta2 Pre-release 10–11 Jul 14, 2026
1.0.0-beta1 Pre-release 10–11 Jul 13, 2026
1.0.1-alpha3 Pre-release 10–11 Jul 9, 2026
1.0.0-alpha2 Pre-release 10–11 Jul 7, 2026
1.0.0-alpha1 Pre-release 10–11 Jul 7, 2026
1.x-dev Dev 10–11 Jul 3, 2026