localgovdrupal / localgov_demo
Example content for demonstrating the LocalGovDrupal distribution and to help with development.
Installs: 71 682
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 1
Open Issues: 13
Type:drupal-module
Requires
- drupal/default_content: ^2.0@alpha
- localgovdrupal/localgov_alert_banner: ^1.2
- localgovdrupal/localgov_core: ^2.12
- localgovdrupal/localgov_directories: ^3.0@alpha
- localgovdrupal/localgov_events: ^3.0@alpha
- localgovdrupal/localgov_guides: ^2.1
- localgovdrupal/localgov_news: ^2.3
- localgovdrupal/localgov_publications: ^1.0
- localgovdrupal/localgov_search: ^1.2
- localgovdrupal/localgov_services: ^2.1
- localgovdrupal/localgov_step_by_step: ^2.1
- localgovdrupal/localgov_subsites: ^2.3
- localgovdrupal/localgov_workflows: ^1.2
- 3.x-dev
- 3.0.1
- 3.0.0
- 3.0.0-alpha2
- 3.0.0-alpha1
- 2.x-dev
- 2.1.10
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.0
- 1.x-dev
- 1.0.1
- 1.0.0
- 1.0.0-alpha4
- 1.0.0-alpha3
- 1.0.0-alpha2
- 1.0.0-alpha1
- dev-feature/24-content-tests
- dev-135/fix/is-syncing-check
- dev-feature/drupal-11-support
- dev-fix/3.x-134-alert-banner
- dev-135/fix/is-syncing
- dev-fix/132/typos
- dev-release-3.x
- dev-fix/3.x/update-class-namespace
- dev-feature/3.x/shared-workflows
- dev-fix/3.x/strict-types
- dev-feature/3.x/123-publications
- dev-fix/2.x/121-strict-types
- dev-release-2.x
- dev-fix/2.x-114-clear-cache-when-setting-front-page
- dev-fix/3.x-114-clear-cache-when-setting-front-page
- dev-feature/3.x/geo_entity
- dev-do-not-merge/3.x/geo_entity
- dev-fix/docs-links-103
- dev-feature/110-coding-standards
- dev-feature/drupal-10
- dev-feature/test
- dev-feature/install-readme-106
- dev-feature/2.x/update-newsroom
- dev-bug/2.x/homepage-paragraph-97
- dev-feature/2.x/search-directories-db-modules
- dev-test/update-localgov_geo
- dev-fix/github-workflow-update-2022-05-09
- dev-71-delete-hello
- dev-fix/68-deprecated-function
- dev-hotfix/57-overlong-word
- dev-feature/2.x/50-demo-home-page
- dev-feature/update-github-actions
- dev-feature/48-updated-demo-content
- dev-feature/53-services-menu
- dev-release-1.x
- dev-feature/feature/45-enable-search
- dev-feature/25-default-content-update
- dev-feature/20-errors-in-ui
- dev-fix/null-error
- dev-feature/update_for_renamed_fields
- dev-feature/78-naming-conventions
- dev-feature/campaigns-25-paragraphs-type
- dev-feature/7-github-ci
- dev-feature/remove-private-topics
- dev-feature/topics-name
This package is auto-updated.
Last update: 2024-12-17 11:35:26 UTC
README
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.