Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ogg group and pvb plugin #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"drupal/migrate_plus": "^5.1",
"drupal/migrate_source_csv": "^3.4",
"drupal/migrate_tools": "^5.0",
"drupal/og": "^1.0@alpha",
"drupal/pantheon_advanced_page_cache": "^2.1",
"drupal/paragraphs": "^1.12",
"drupal/pathauto": "^1.8",
Expand Down
102 changes: 101 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions config/sync/core.base_field_override.node.group.promote.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: b9805fff-6cff-4012-b9aa-56319ea65ed3
langcode: en
status: true
dependencies:
config:
- node.type.group
id: node.group.promote
field_name: promote
entity_type: node
bundle: group
label: 'Promoted to front page'
description: ''
required: false
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
106 changes: 106 additions & 0 deletions config/sync/core.entity_form_display.node.group.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
uuid: aec9201a-d8ae-4374-83ca-6be7c5458f00
langcode: en
status: true
dependencies:
config:
- field.field.node.group.body
- field.field.node.group.field_featured_image
- node.type.group
module:
- path
- select2
- text
id: node.group.default
targetEntityType: node
bundle: group
mode: default
content:
body:
type: text_textarea_with_summary
weight: 121
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_featured_image:
type: select2_entity_reference
weight: 122
region: content
settings:
width: 100%
autocomplete: false
match_operator: CONTAINS
match_limit: 10
third_party_settings: { }
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
region: content
settings:
display_label: true
third_party_settings: { }
simple_sitemap:
weight: 10
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 120
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 50
region: content
settings: { }
third_party_settings: { }
hidden: { }
47 changes: 47 additions & 0 deletions config/sync/core.entity_view_display.node.group.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
uuid: a1058a94-6aae-4316-985d-da1dc7860c82
langcode: en
status: true
dependencies:
config:
- field.field.node.group.body
- field.field.node.group.field_featured_image
- node.type.group
module:
- og
- text
- user
id: node.group.default
targetEntityType: node
bundle: group
mode: default
content:
body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 101
region: content
field_featured_image:
type: entity_reference_label
label: hidden
settings:
link: true
third_party_settings: { }
weight: 102
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
og_group:
type: og_group_subscribe
label: above
settings: { }
third_party_settings: { }
weight: 0
region: content
hidden:
langcode: true
search_api_excerpt: true
42 changes: 42 additions & 0 deletions config/sync/core.entity_view_display.node.group.teaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
uuid: 46ad2b57-75dc-4db7-931b-a6c74a1cd05c
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.group.body
- field.field.node.group.field_featured_image
- node.type.group
module:
- og
- text
- user
id: node.group.teaser
targetEntityType: node
bundle: group
mode: teaser
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 600
third_party_settings: { }
weight: 101
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
og_group:
type: og_group_subscribe
label: above
settings: { }
third_party_settings: { }
weight: 0
region: content
hidden:
field_featured_image: true
langcode: true
search_api_excerpt: true
2 changes: 2 additions & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ module:
menu_ui: 0
mysql: 0
node: 0
og: 0
og_ui: 0
options: 0
page_cache: 0
pantheon_advanced_page_cache: 0
Expand Down
23 changes: 23 additions & 0 deletions config/sync/field.field.node.group.body.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uuid: 3459b4dd-d8b8-4c05-b43f-d19e733010c8
langcode: en
status: true
dependencies:
config:
- field.storage.node.body
- node.type.group
module:
- text
id: node.group.body
field_name: body
entity_type: node
bundle: group
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
required_summary: false
field_type: text_with_summary
Loading