This project provides example content to demonstrate the LocalGov Drupal distribution and assist with development. It includes tools to update and add content, allowing users to customize the demonstration.
Example content for demonstrating the LocalGov Drupal distribution and to help
with development.
Updating and adding content
To update default content already included in the module simply run:
drush dcem localgov_demo
To add new content add entity UUIDs to the `localgov_demo.info.yml` file and
export the content as above. Details on how to find entity UUIDs can be found
here:
https://www.drupal.org/docs/8/modules/default-content-for-d8/defining-default-content (Hint: use Devel).
Or
Export content and all references with:
lando drush dcer <entity type> <entity id> --folder=modules/contrib/localgov_demo/content/
Notes:
- The --folder definition is relative to the web root.
- There is no slash at the start of the path, it is --folder=modules/contrib...
- You should delete the `localgov_demo/content/user` directory before
- committing code if using this method as it will include users.
- You should also add the new UUIDs to the `localgov_demo.info.yml` file.
Depends on
Dependencies of the latest stable release
- Default Content
- LocalGov Alert Banner
- LocalGov Directories
- LocalGov Directories localgov_directories_db
- LocalGov Directories localgov_directories_location
- LocalGov Directories localgov_directories_page
- LocalGov Directories localgov_directories_venue
- LocalGov Events
- LocalGov Geo localgov_geo_area
- LocalGov Guides
- LocalGov Core localgov_media
- LocalGov News
- LocalGov Publications
- LocalGov Workflows localgov_review_date
- LocalGov Search
- LocalGov Search localgov_search_db
- LocalGov Services localgov_services_landing
- LocalGov Services localgov_services_page
- LocalGov Services localgov_services_status
- LocalGov Services localgov_services_sublanding
- LocalGov Step-by-step
- LocalGov Subsites
- LocalGov Workflows
- LocalGov Workflows localgov_workflows_notifications
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.