{"id":18866321,"url":"https://github.com/localgovdrupal/localgov_page_components","last_synced_at":"2025-09-14T18:37:19.718Z","repository":{"id":40271636,"uuid":"265929021","full_name":"localgovdrupal/localgov_page_components","owner":"localgovdrupal","description":"Reusable paragraphs library for LocalGovDrupal distribution.","archived":false,"fork":false,"pushed_at":"2025-06-12T15:32:35.000Z","size":98,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":5,"default_branch":"1.x","last_synced_at":"2025-08-18T04:31:19.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/localgovdrupal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-05-21T18:59:59.000Z","updated_at":"2025-06-12T15:32:39.000Z","dependencies_parsed_at":"2024-09-10T12:44:54.514Z","dependency_job_id":"66a44731-1165-46de-b2e3-7bd7a697ed6f","html_url":"https://github.com/localgovdrupal/localgov_page_components","commit_stats":{"total_commits":42,"total_committers":10,"mean_commits":4.2,"dds":0.7380952380952381,"last_synced_commit":"768a2f1edb9249f206c0c0fbb45b0c4d7693aa64"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/localgovdrupal/localgov_page_components","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgovdrupal%2Flocalgov_page_components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgovdrupal%2Flocalgov_page_components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgovdrupal%2Flocalgov_page_components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgovdrupal%2Flocalgov_page_components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localgovdrupal","download_url":"https://codeload.github.com/localgovdrupal/localgov_page_components/tar.gz/refs/heads/1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgovdrupal%2Flocalgov_page_components/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275150045,"owners_count":25414243,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08T05:06:14.728Z","updated_at":"2025-09-14T18:37:19.568Z","avatar_url":"https://github.com/localgovdrupal.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LocalGovDrupal Page Components\n\nReusable paragraphs library for the LocalGovDrupal distribution.\n\n## What's in it?\n### A node field\nProvides the **localgov_page_components** node field.  This field can be used to add new Page components or select an existing one within a node.  The recommended field widget is **Entity browser** which should use the *Page component* browser.\n\nThis field is currently used in the localgov_services_page content type.  But it can be used in any other content type.\n\n### LinkIt integration\nThe [LinkIt](https://www.drupal.org/project/linkit) module can use URLs belonging to localgov_link and localgov_contact Page components when the [localgov_paragraphs](https://packagist.org/packages/localgovdrupal/localgov_paragraphs) module is available.  Setup steps follow:\n- Access the LinkIt profile configuration page from */admin/config/content/linkit*.\n- Select the *Manage matchers* operation for the **Default** profile.  This should take you to */admin/config/content/linkit/manage/default/matchers*.\n- Click *Add matcher* which should land you at */admin/config/content/linkit/manage/default/matchers/add*.\n- Select **Page components** as the matcher.  *Save and continue*.  This should present the *Page components* matcher edit form.\n- Select *Link* and *Contact* as *Bundle restrictions*.  Other Paragraph types are unsupported at the moment.\n- *Limit search results* to 20.\n- Select the *Group by bundle* checkbox within *Bundle grouping*.\n- Select *Page components* from the **Substitution Type** dropdown within *URL substitution*.\n- *Save changes*.\n- Suggestions provided by LinkIt should now include localgov_link and localgov_contact Page components.\n\n## Known issues\nSome Page component edit forms (e.g. localgov_documents) try to open a modal.  This leads to a modal within a modal scenario which doesn't work.  The work around is to edit such Page components from their own edit page.  These can be looked up from  */admin/content/paragraphs*.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalgovdrupal%2Flocalgov_page_components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocalgovdrupal%2Flocalgov_page_components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalgovdrupal%2Flocalgov_page_components/lists"}