Skip to content

Commit ae39181

Browse files
authored
Merge pull request #2 from localgovdrupal/master
Release new tag 1.0.0-alpha2
2 parents 35a0766 + a3ea54b commit ae39181

12 files changed

+258
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
# LocalGov Subsites
22

33
Provides subsite sections using page builder paragraph types for LocalGov Drupal.
4+
5+
Please note:
6+
- This is a fork of localgov_campaigns.
7+
- This is NOT compatible with localgov_campaigns as it defines the same paragraph types.
8+
- LocaGov Subsites extends the original functionality of localgov_campaigns with child pages.
9+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
uuid: 52863cba-663e-494b-9860-55b2d44918c9
2+
langcode: en
3+
status: true
4+
dependencies:
5+
config:
6+
- field.field.paragraph.localgov_featured_subsite.localgov_featured_subsite_image
7+
- field.field.paragraph.localgov_featured_subsite.localgov_featured_subsite_link
8+
- field.field.paragraph.localgov_featured_subsite.localgov_featured_subsite_text
9+
- paragraphs.paragraphs_type.localgov_featured_subsite
10+
module:
11+
- link
12+
- media_library
13+
_core:
14+
default_config_hash: TZKXMSzehPlUbUmN_MO75D69ia6uqliC2A8IgUQCjNw
15+
id: paragraph.localgov_featured_subsite.default
16+
targetEntityType: paragraph
17+
bundle: localgov_featured_subsite
18+
mode: default
19+
content:
20+
localgov_featured_subsite_image:
21+
type: media_library_widget
22+
weight: 1
23+
settings:
24+
media_types: { }
25+
third_party_settings: { }
26+
region: content
27+
localgov_featured_subsite_link:
28+
weight: 0
29+
settings:
30+
placeholder_url: ''
31+
placeholder_title: ''
32+
third_party_settings: { }
33+
type: link_default
34+
region: content
35+
localgov_featured_subsite_text:
36+
weight: 2
37+
settings:
38+
rows: 5
39+
placeholder: ''
40+
third_party_settings: { }
41+
type: string_textarea
42+
region: content
43+
hidden:
44+
created: true
45+
status: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
uuid: 8cdaa99b-b5c7-4452-9764-054b7f87b5b0
2+
langcode: en
3+
status: true
4+
dependencies:
5+
config:
6+
- field.field.paragraph.localgov_featured_subsite.localgov_featured_subsite_image
7+
- field.field.paragraph.localgov_featured_subsite.localgov_featured_subsite_link
8+
- field.field.paragraph.localgov_featured_subsite.localgov_featured_subsite_text
9+
- paragraphs.paragraphs_type.localgov_featured_subsite
10+
module:
11+
- field_formatter_class
12+
- link
13+
_core:
14+
default_config_hash: 4XkdCftdh15gCgpirtD9Hgjtga0_8vcoONOvetgZoiI
15+
id: paragraph.localgov_featured_subsite.default
16+
targetEntityType: paragraph
17+
bundle: localgov_featured_subsite
18+
mode: default
19+
content:
20+
localgov_featured_subsite_image:
21+
type: entity_reference_entity_view
22+
weight: 0
23+
label: visually_hidden
24+
settings:
25+
view_mode: localgov_featured_large
26+
link: false
27+
third_party_settings:
28+
field_formatter_class:
29+
class: featured-subsite__img
30+
region: content
31+
localgov_featured_subsite_link:
32+
weight: 1
33+
label: visually_hidden
34+
settings:
35+
trim_length: 80
36+
url_only: false
37+
url_plain: false
38+
rel: '0'
39+
target: '0'
40+
third_party_settings:
41+
field_formatter_class:
42+
class: featured-subsite__title
43+
type: link
44+
region: content
45+
localgov_featured_subsite_text:
46+
weight: 2
47+
label: visually_hidden
48+
settings: { }
49+
third_party_settings:
50+
field_formatter_class:
51+
class: featured-subsite__summary
52+
type: basic_string
53+
region: content
54+
hidden:
55+
search_api_excerpt: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
uuid: c1f883ca-15ad-4f21-8483-779dc9200547
2+
langcode: en
3+
status: true
4+
dependencies:
5+
config:
6+
- field.storage.paragraph.localgov_featured_subsite_image
7+
- media.type.image
8+
- paragraphs.paragraphs_type.localgov_featured_subsite
9+
_core:
10+
default_config_hash: zqN11b5FGPtInuxaVrXSGTnaqGyh1O6_Vr46NG3aVHg
11+
id: paragraph.localgov_featured_subsite.localgov_featured_subsite_image
12+
field_name: localgov_featured_subsite_image
13+
entity_type: paragraph
14+
bundle: localgov_featured_subsite
15+
label: 'Subsite image'
16+
description: ''
17+
required: false
18+
translatable: false
19+
default_value: { }
20+
default_value_callback: ''
21+
settings:
22+
handler: 'default:media'
23+
handler_settings:
24+
target_bundles:
25+
image: image
26+
sort:
27+
field: _none
28+
auto_create: false
29+
auto_create_bundle: ''
30+
field_type: entity_reference
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
uuid: 1f881d28-71e1-4607-8481-fb3cda2a5514
2+
langcode: en
3+
status: true
4+
dependencies:
5+
config:
6+
- field.storage.paragraph.localgov_featured_subsite_link
7+
- paragraphs.paragraphs_type.localgov_featured_subsite
8+
module:
9+
- link
10+
_core:
11+
default_config_hash: rWOmQVvrqfqGSAemvmcgEbDOCk9a8_EWcqagUa30wu4
12+
id: paragraph.localgov_featured_subsite.localgov_featured_subsite_link
13+
field_name: localgov_featured_subsite_link
14+
entity_type: paragraph
15+
bundle: localgov_featured_subsite
16+
label: 'Subsite title link'
17+
description: ''
18+
required: false
19+
translatable: false
20+
default_value: { }
21+
default_value_callback: ''
22+
settings:
23+
link_type: 17
24+
title: 2
25+
field_type: link
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
uuid: a910b648-a78b-4947-84ca-4088b4076f01
2+
langcode: en
3+
status: true
4+
dependencies:
5+
config:
6+
- field.storage.paragraph.localgov_featured_subsite_text
7+
- paragraphs.paragraphs_type.localgov_featured_subsite
8+
_core:
9+
default_config_hash: 3FMREyB2tBG-FZiK9-7Qj7dDA1k00xt6GpANKfy8Zlo
10+
id: paragraph.localgov_featured_subsite.localgov_featured_subsite_text
11+
field_name: localgov_featured_subsite_text
12+
entity_type: paragraph
13+
bundle: localgov_featured_subsite
14+
label: 'Subsite summary'
15+
description: ''
16+
required: false
17+
translatable: false
18+
default_value: { }
19+
default_value_callback: ''
20+
settings: { }
21+
field_type: string_long
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
uuid: 010cd352-66c1-4364-8375-f1320748c35c
2+
langcode: en
3+
status: true
4+
dependencies:
5+
module:
6+
- media
7+
- paragraphs
8+
_core:
9+
default_config_hash: UKX9cZnoIj4eZC-qxlT34CVZ9b6woE_n7m37Oh3jDYA
10+
id: paragraph.localgov_featured_subsite_image
11+
field_name: localgov_featured_subsite_image
12+
entity_type: paragraph
13+
type: entity_reference
14+
settings:
15+
target_type: media
16+
module: core
17+
locked: false
18+
cardinality: 1
19+
translatable: true
20+
indexes: { }
21+
persist_with_no_fields: false
22+
custom_storage: false
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
uuid: 54fa789d-ded4-439d-8cac-4a5e31a52a12
2+
langcode: en
3+
status: true
4+
dependencies:
5+
module:
6+
- link
7+
- paragraphs
8+
_core:
9+
default_config_hash: MwNxMeN93SP4yqdSVaM3tc4OxmHRrI3X1l1mkBrXMZE
10+
id: paragraph.localgov_featured_subsite_link
11+
field_name: localgov_featured_subsite_link
12+
entity_type: paragraph
13+
type: link
14+
settings: { }
15+
module: link
16+
locked: false
17+
cardinality: 1
18+
translatable: true
19+
indexes: { }
20+
persist_with_no_fields: false
21+
custom_storage: false
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
uuid: 836aa8fe-643b-4928-ac87-91a17f4b98d6
2+
langcode: en
3+
status: true
4+
dependencies:
5+
module:
6+
- paragraphs
7+
_core:
8+
default_config_hash: E78867vD-EkpWWyCs6ENIK-xUUjR3NHTSghXWDjD8IQ
9+
id: paragraph.localgov_featured_subsite_text
10+
field_name: localgov_featured_subsite_text
11+
entity_type: paragraph
12+
type: string_long
13+
settings:
14+
case_sensitive: false
15+
module: core
16+
locked: false
17+
cardinality: 1
18+
translatable: true
19+
indexes: { }
20+
persist_with_no_fields: false
21+
custom_storage: false
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
uuid: e479ad59-fd24-447e-9300-9e7f1e9d8c67
2+
langcode: en
3+
status: true
4+
dependencies: { }
5+
_core:
6+
default_config_hash: OhGFgbEq2S7SqeYtg2B2ZrOP6h-peTkJBx_xjKQqtz0
7+
id: localgov_featured_subsite
8+
label: 'Featured subsite'
9+
icon_uuid: null
10+
icon_default: null
11+
description: ''
12+
behavior_plugins: { }

0 commit comments

Comments
 (0)