Skip to content

Commit

Permalink
Merge pull request #2 from localgovdrupal/master
Browse files Browse the repository at this point in the history
Release new tag 1.0.0-alpha2
  • Loading branch information
finnlewis authored Nov 25, 2020
2 parents 35a0766 + a3ea54b commit ae39181
Show file tree
Hide file tree
Showing 12 changed files with 258 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# LocalGov Subsites

Provides subsite sections using page builder paragraph types for LocalGov Drupal.

Please note:
- This is a fork of localgov_campaigns.
- This is NOT compatible with localgov_campaigns as it defines the same paragraph types.
- LocaGov Subsites extends the original functionality of localgov_campaigns with child pages.

Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
uuid: 52863cba-663e-494b-9860-55b2d44918c9
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.localgov_featured_subsite.localgov_featured_subsite_image
- field.field.paragraph.localgov_featured_subsite.localgov_featured_subsite_link
- field.field.paragraph.localgov_featured_subsite.localgov_featured_subsite_text
- paragraphs.paragraphs_type.localgov_featured_subsite
module:
- link
- media_library
_core:
default_config_hash: TZKXMSzehPlUbUmN_MO75D69ia6uqliC2A8IgUQCjNw
id: paragraph.localgov_featured_subsite.default
targetEntityType: paragraph
bundle: localgov_featured_subsite
mode: default
content:
localgov_featured_subsite_image:
type: media_library_widget
weight: 1
settings:
media_types: { }
third_party_settings: { }
region: content
localgov_featured_subsite_link:
weight: 0
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
type: link_default
region: content
localgov_featured_subsite_text:
weight: 2
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
uuid: 8cdaa99b-b5c7-4452-9764-054b7f87b5b0
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.localgov_featured_subsite.localgov_featured_subsite_image
- field.field.paragraph.localgov_featured_subsite.localgov_featured_subsite_link
- field.field.paragraph.localgov_featured_subsite.localgov_featured_subsite_text
- paragraphs.paragraphs_type.localgov_featured_subsite
module:
- field_formatter_class
- link
_core:
default_config_hash: 4XkdCftdh15gCgpirtD9Hgjtga0_8vcoONOvetgZoiI
id: paragraph.localgov_featured_subsite.default
targetEntityType: paragraph
bundle: localgov_featured_subsite
mode: default
content:
localgov_featured_subsite_image:
type: entity_reference_entity_view
weight: 0
label: visually_hidden
settings:
view_mode: localgov_featured_large
link: false
third_party_settings:
field_formatter_class:
class: featured-subsite__img
region: content
localgov_featured_subsite_link:
weight: 1
label: visually_hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: '0'
target: '0'
third_party_settings:
field_formatter_class:
class: featured-subsite__title
type: link
region: content
localgov_featured_subsite_text:
weight: 2
label: visually_hidden
settings: { }
third_party_settings:
field_formatter_class:
class: featured-subsite__summary
type: basic_string
region: content
hidden:
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
uuid: c1f883ca-15ad-4f21-8483-779dc9200547
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.localgov_featured_subsite_image
- media.type.image
- paragraphs.paragraphs_type.localgov_featured_subsite
_core:
default_config_hash: zqN11b5FGPtInuxaVrXSGTnaqGyh1O6_Vr46NG3aVHg
id: paragraph.localgov_featured_subsite.localgov_featured_subsite_image
field_name: localgov_featured_subsite_image
entity_type: paragraph
bundle: localgov_featured_subsite
label: 'Subsite image'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:media'
handler_settings:
target_bundles:
image: image
sort:
field: _none
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: 1f881d28-71e1-4607-8481-fb3cda2a5514
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.localgov_featured_subsite_link
- paragraphs.paragraphs_type.localgov_featured_subsite
module:
- link
_core:
default_config_hash: rWOmQVvrqfqGSAemvmcgEbDOCk9a8_EWcqagUa30wu4
id: paragraph.localgov_featured_subsite.localgov_featured_subsite_link
field_name: localgov_featured_subsite_link
entity_type: paragraph
bundle: localgov_featured_subsite
label: 'Subsite title link'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
link_type: 17
title: 2
field_type: link
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: a910b648-a78b-4947-84ca-4088b4076f01
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.localgov_featured_subsite_text
- paragraphs.paragraphs_type.localgov_featured_subsite
_core:
default_config_hash: 3FMREyB2tBG-FZiK9-7Qj7dDA1k00xt6GpANKfy8Zlo
id: paragraph.localgov_featured_subsite.localgov_featured_subsite_text
field_name: localgov_featured_subsite_text
entity_type: paragraph
bundle: localgov_featured_subsite
label: 'Subsite summary'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string_long
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 010cd352-66c1-4364-8375-f1320748c35c
langcode: en
status: true
dependencies:
module:
- media
- paragraphs
_core:
default_config_hash: UKX9cZnoIj4eZC-qxlT34CVZ9b6woE_n7m37Oh3jDYA
id: paragraph.localgov_featured_subsite_image
field_name: localgov_featured_subsite_image
entity_type: paragraph
type: entity_reference
settings:
target_type: media
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 54fa789d-ded4-439d-8cac-4a5e31a52a12
langcode: en
status: true
dependencies:
module:
- link
- paragraphs
_core:
default_config_hash: MwNxMeN93SP4yqdSVaM3tc4OxmHRrI3X1l1mkBrXMZE
id: paragraph.localgov_featured_subsite_link
field_name: localgov_featured_subsite_link
entity_type: paragraph
type: link
settings: { }
module: link
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 836aa8fe-643b-4928-ac87-91a17f4b98d6
langcode: en
status: true
dependencies:
module:
- paragraphs
_core:
default_config_hash: E78867vD-EkpWWyCs6ENIK-xUUjR3NHTSghXWDjD8IQ
id: paragraph.localgov_featured_subsite_text
field_name: localgov_featured_subsite_text
entity_type: paragraph
type: string_long
settings:
case_sensitive: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
uuid: e479ad59-fd24-447e-9300-9e7f1e9d8c67
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: OhGFgbEq2S7SqeYtg2B2ZrOP6h-peTkJBx_xjKQqtz0
id: localgov_featured_subsite
label: 'Featured subsite'
icon_uuid: null
icon_default: null
description: ''
behavior_plugins: { }

0 comments on commit ae39181

Please sign in to comment.