https://github.com/localgovdrupal/localgov_demo
Example content for demonstrating the LocalGovDrupal distribution and to help with development.
https://github.com/localgovdrupal/localgov_demo
Last synced: 5 months ago
JSON representation
Example content for demonstrating the LocalGovDrupal distribution and to help with development.
- Host: GitHub
- URL: https://github.com/localgovdrupal/localgov_demo
- Owner: localgovdrupal
- License: gpl-2.0
- Created: 2020-06-05T12:02:05.000Z (about 6 years ago)
- Default Branch: 3.x
- Last Pushed: 2025-02-13T20:44:28.000Z (over 1 year ago)
- Last Synced: 2025-02-13T21:32:35.232Z (over 1 year ago)
- Homepage:
- Size: 39.1 MB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LocalGov Drupal demonstration module
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:
```bash
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:
\
(Hint: use Devel).
Or
Export content and all references with:
```bash
lando drush dcer --folder=modules/contrib/localgov_demo/content/
```
Notes:
1. The --folder definition is relative to the web root.
2. There is no slash at the start of the path, it is --folder=modules/contrib...
3. You should delete the `localgov_demo/content/user` directory before
committing code if using this method as it will include users.
4. You should also add the new UUIDs to the `localgov_demo.info.yml` file.