{"id":18720554,"url":"https://github.com/dennisinteractive/default_content","last_synced_at":"2025-07-19T04:05:27.032Z","repository":{"id":146540418,"uuid":"80517915","full_name":"dennisinteractive/default_content","owner":"dennisinteractive","description":null,"archived":false,"fork":false,"pushed_at":"2017-03-17T16:17:03.000Z","size":104,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":52,"default_branch":"dennis-8.x-1.x","last_synced_at":"2025-06-24T13:54:52.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dennisinteractive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-01-31T12:21:38.000Z","updated_at":"2017-03-17T16:17:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"c15d71e6-ffc0-46ee-bb31-3fa3cfa79bf1","html_url":"https://github.com/dennisinteractive/default_content","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dennisinteractive/default_content","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2Fdefault_content","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2Fdefault_content/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2Fdefault_content/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2Fdefault_content/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dennisinteractive","download_url":"https://codeload.github.com/dennisinteractive/default_content/tar.gz/refs/heads/dennis-8.x-1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2Fdefault_content/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265887597,"owners_count":23844433,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T13:31:35.233Z","updated_at":"2025-07-19T04:05:27.005Z","avatar_url":"https://github.com/dennisinteractive.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Default content\n===============\n\nA default content solution for Drupal 8\n\nHow does it work\n================\n\nEnable default content first.\nAny module that requires default content can put hal+json versions of the entities inside content/{entity_type} folders.\n\nFor example see default_content_test which has\n\n* modules/default_content_test/content\n* modules/default_content_test/content/node\n* modules/default_content_test/content/node/imported.json\n* modules/default_content_test/content/taxonomy_term\n* modules/default_content_test/content/taxonomy_term/tag.json\n\nAt the moment these files need to be hand-created or exported using the Rest, Hal and Serialization modules.\nNote that the default functionality of the Hal module is to make all links point to the origin site's FDQN.\n\nThe default_content module expects these (at this stage) to be relative to http://drupal.org as there is no point in having default content that can only be re-imported on the originating site.\n\nNote that imported.json contains a node with a term reference field that includes a reference to the term in tag.json.\n\nThe Gliph library (in 8.x core) is used to resolve the dependency graph, so in this case the term is imported first so that the reference to it is created in the node.\n\nTo do\n=====\n\nUI for easily exporting?\n\n[![Build Status](https://travis-ci.org/larowlan/default_content.svg?branch=8.x-1.x)](https://travis-ci.org/larowlan/default_content)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennisinteractive%2Fdefault_content","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdennisinteractive%2Fdefault_content","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennisinteractive%2Fdefault_content/lists"}