Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

[OYPD-358] Update class, adding header content, & bottom content. #331

Merged
merged 7 commits into from
May 10, 2017
2 changes: 2 additions & 0 deletions docs/Content structure/Content Types/Branch.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Branch content type is used for adding Branches on the site.
| Content | field\_header_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
| **Content Area** | Field group |||
| Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
| **Bottom Area** | Field group|||
| Content | field\_bottom_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |

### URL pattern

Expand Down
2 changes: 2 additions & 0 deletions docs/Content structure/Content Types/Camp.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Camp content type is used for adding Camps on the site.
| Content | field\_header_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
| **Content Area** | Field group |||
| Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
| **Bottom Area** | Field group|||
| Content | field\_bottom_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |

### URL pattern

Expand Down
4 changes: 4 additions & 0 deletions docs/Content structure/Content Types/Class.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ Class content type is used for adding Classes on the site.
| ------------- | ------------- | ------------- | ------------- |
| Title | drupal's default | Yes | Title of the class item. |
| Activity | field\_class_activity | No | A reference field for selecting the class. |
| **Header Area** | Field group|||
| Content | field\_header_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
| **Content Area** | Field group|||
| Description | field\_class_description | No | Textarea for the description/body with WYSIWYG, without summary. |
| Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
| **Sidebar Area** | Field group |||
| Content | field\_sidebar_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
| **Bottom Area** | Field group|||
| Content | field\_bottom_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |

### URL pattern
Content type is using following pattern:
Expand Down
2 changes: 1 addition & 1 deletion docs/Content structure/Content Types/Facility.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Facility content type is used for adding facilities on the site.
| Directions | field\_location_directions | No | A link field for adding the directions link. |
| **Content Area** | Field group |||
| Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
| **Header Area** | Field group |||
| **Sidebar Area** | Field group |||
| Content | field\_sidebar_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |

### URL pattern
Expand Down
2 changes: 2 additions & 0 deletions docs/Content structure/Content Types/Landing Page.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Landing Page content type is used for adding landing pages on the site.
| Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
| **Sidebar Area** | Field group |||
| Content | field\_sidebar_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
| **Bottom Area** | Field group|||
| Content | field\_bottom_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |

### URL pattern

Expand Down
2 changes: 2 additions & 0 deletions docs/Content structure/Content Types/Program Subcategory.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Program Subcategory content type is used for adding program subcategories on the
| Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
| **Sidebar Area** | Field group |||
| Content | field\_sidebar_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
| **Bottom Area** | Field group|||
| Content | field\_bottom_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |

### URL pattern

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* OpenY Branch install file.
*/

/**
* Implements hook_update_dependencies().
*/
function openy_loc_branch_update_dependencies() {
$dependencies['openy_loc_branch'] = [
8002 => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* OpenY Camp install file.
*/

/**
* Implements hook_update_dependencies().
*/
function openy_loc_camp_update_dependencies() {
$dependencies['openy_loc_camp'] = [
8002 => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* OpenY Facility install file.
*/

/**
* Implements hook_update_dependencies().
*/
function openy_loc_facility_update_dependencies() {
$dependencies['openy_loc_facility'] = [
8002 => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* OpenY Node Blog install file.
*/

/**
* Implements hook_update_dependencies().
*/
function openy_node_blog_update_dependencies() {
$dependencies['openy_node_blog'] = [
8002 => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* OpenY Node Category install file.
*/

/**
* Implements hook_update_dependencies().
*/
function openy_node_category_update_dependencies() {
$dependencies['openy_node_category'] = [
8002 => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ langcode: en
status: true
dependencies:
config:
- field.field.node.class.field_bottom_content
- field.field.node.class.field_class_activity
- field.field.node.class.field_class_description
- field.field.node.class.field_content
- field.field.node.class.field_header_content
- field.field.node.class.field_meta_tags
- field.field.node.class.field_sidebar_content
- node.type.class
Expand All @@ -21,7 +23,7 @@ third_party_settings:
- field_class_description
- field_content
parent_name: ''
weight: 2
weight: 3
format_type: tab
format_settings:
id: ''
Expand All @@ -34,7 +36,7 @@ third_party_settings:
children:
- field_sidebar_content
parent_name: ''
weight: 3
weight: 4
format_type: tab
format_settings:
id: ''
Expand All @@ -43,16 +45,54 @@ third_party_settings:
description: ''
required_fields: true
label: 'Sidebar Area'
group_header_area:
children:
- field_header_content
parent_name: ''
weight: 2
format_type: tab
format_settings:
id: ''
classes: ''
formatter: closed
description: ''
required_fields: true
label: 'Header Area'
group_bottom_area:
children:
- field_bottom_content
parent_name: ''
weight: 6
format_type: tab
format_settings:
id: ''
classes: ''
formatter: closed
description: ''
required_fields: true
label: 'Bottom Area'
id: node.class.default
targetEntityType: node
bundle: class
mode: default
content:
created:
type: datetime_timestamp
weight: 5
weight: 7
settings: { }
third_party_settings: { }
region: content
field_bottom_content:
weight: 28
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
add_mode: dropdown
form_display_mode: default
third_party_settings: { }
type: entity_reference_paragraphs
region: content
field_class_activity:
weight: 1
settings:
Expand All @@ -61,13 +101,15 @@ content:
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_class_description:
weight: 9
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: text_textarea
region: content
field_content:
weight: 10
settings:
Expand All @@ -78,11 +120,24 @@ content:
form_display_mode: default
third_party_settings: { }
type: entity_reference_paragraphs
region: content
field_header_content:
weight: 27
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
add_mode: dropdown
form_display_mode: default
third_party_settings: { }
type: entity_reference_paragraphs
region: content
field_meta_tags:
weight: 26
weight: 11
settings: { }
third_party_settings: { }
type: metatag_firehose
region: content
field_sidebar_content:
weight: 9
settings:
Expand All @@ -93,36 +148,42 @@ content:
form_display_mode: default
third_party_settings: { }
type: entity_reference_paragraphs
region: content
path:
type: path
weight: 8
weight: 10
settings: { }
third_party_settings: { }
region: content
promote:
type: boolean_checkbox
settings:
display_label: true
weight: 6
weight: 8
third_party_settings: { }
region: content
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 7
weight: 9
third_party_settings: { }
region: content
title:
type: string_textfield
weight: 0
settings:
size: 60
placeholder: ''
third_party_settings: { }
region: content
uid:
type: entity_reference_autocomplete
weight: 4
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
region: content
hidden: { }
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ langcode: en
status: true
dependencies:
config:
- field.field.node.class.field_bottom_content
- field.field.node.class.field_class_activity
- field.field.node.class.field_class_description
- field.field.node.class.field_content
- field.field.node.class.field_header_content
- field.field.node.class.field_meta_tags
- field.field.node.class.field_sidebar_content
- node.type.class
Expand All @@ -18,41 +20,67 @@ targetEntityType: node
bundle: class
mode: default
content:
field_bottom_content:
weight: 5
label: hidden
settings:
view_mode: default
link: ''
third_party_settings: { }
type: entity_reference_revisions_entity_view
region: content
field_class_activity:
weight: 101
label: above
weight: 1
label: hidden
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: content
field_class_description:
weight: 102
label: above
weight: 3
label: hidden
settings: { }
third_party_settings: { }
type: text_default
region: content
field_content:
weight: 103
label: above
weight: 4
label: hidden
settings:
view_mode: default
link: ''
third_party_settings: { }
type: entity_reference_revisions_entity_view
region: content
field_header_content:
weight: 2
label: hidden
settings:
view_mode: default
link: ''
third_party_settings: { }
type: entity_reference_revisions_entity_view
region: content
field_meta_tags:
weight: 105
label: above
weight: 7
label: hidden
settings: { }
third_party_settings: { }
type: metatag_empty_formatter
region: content
field_sidebar_content:
weight: 104
label: above
weight: 6
label: hidden
settings:
view_mode: default
link: ''
third_party_settings: { }
type: entity_reference_revisions_entity_view
region: content
links:
weight: 100
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies:
- field.field.node.class.field_class_activity
- field.field.node.class.field_class_description
- field.field.node.class.field_content
- field.field.node.class.field_meta_tags
- field.field.node.class.field_sidebar_content
- node.type.class
module:
Expand All @@ -23,8 +24,10 @@ content:
settings:
trim_length: 150
third_party_settings: { }
region: content
hidden:
field_class_activity: true
field_content: true
field_meta_tags: true
field_sidebar_content: true
links: true
Loading