Merge branch '45-case-study' into 'master'

Create Case Study Content Type, corresponding view modes and View

Closes #45

See merge request agaric/sites/agaric-com!14
This commit is contained in:
mlncn 2018-10-02 22:02:27 +00:00
commit 81023733bb
32 changed files with 1899 additions and 0 deletions

View file

@ -0,0 +1,184 @@
langcode: en
status: true
dependencies:
config:
- field.field.node.case_study.body
- field.field.node.case_study.field_body_paragraph
- field.field.node.case_study.field_case_study_client
- field.field.node.case_study.field_case_study_partners
- field.field.node.case_study.field_case_study_status
- field.field.node.case_study.field_case_study_subtitle
- field.field.node.case_study.field_case_study_team
- field.field.node.case_study.field_case_study_technologies
- field.field.node.case_study.field_case_study_year
- field.field.node.case_study.field_image
- field.field.node.case_study.field_license
- field.field.node.case_study.field_meta_tags
- field.field.node.case_study.field_services
- field.field.node.case_study.field_summary
- image.style.thumbnail
- node.type.case_study
module:
- image
- metatag
- paragraphs
- path
- text
id: node.case_study.default
targetEntityType: node
bundle: case_study
mode: default
content:
created:
type: datetime_timestamp
weight: 12
region: content
settings: { }
third_party_settings: { }
field_body_paragraph:
weight: 4
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
add_mode: dropdown
form_display_mode: default
default_paragraph_type: ''
third_party_settings: { }
type: entity_reference_paragraphs
region: content
field_case_study_client:
weight: 5
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: text_textfield
region: content
field_case_study_partners:
weight: 11
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: text_textfield
region: content
field_case_study_status:
weight: 7
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
field_case_study_subtitle:
weight: 1
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
field_case_study_team:
weight: 10
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_case_study_technologies:
weight: 8
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_case_study_year:
weight: 6
settings:
placeholder: ''
third_party_settings: { }
type: number
region: content
field_image:
weight: 2
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
type: image_image
region: content
field_license:
weight: 18
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_meta_tags:
weight: 17
settings: { }
third_party_settings: { }
type: metatag_firehose
region: content
field_services:
weight: 9
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_summary:
weight: 3
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: text_textarea
region: content
path:
type: path
weight: 15
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
settings:
display_label: true
weight: 13
region: content
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 16
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 14
region: content
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
body: true
uid: true

View file

@ -0,0 +1,106 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.card
- field.field.node.case_study.body
- field.field.node.case_study.field_body_paragraph
- field.field.node.case_study.field_case_study_client
- field.field.node.case_study.field_case_study_partners
- field.field.node.case_study.field_case_study_status
- field.field.node.case_study.field_case_study_subtitle
- field.field.node.case_study.field_case_study_team
- field.field.node.case_study.field_case_study_technologies
- field.field.node.case_study.field_case_study_year
- field.field.node.case_study.field_image
- field.field.node.case_study.field_license
- field.field.node.case_study.field_meta_tags
- field.field.node.case_study.field_services
- field.field.node.case_study.field_summary
- node.type.case_study
- responsive_image.styles.wide
module:
- ds
- field_group
- responsive_image
- user
third_party_settings:
ds:
layout:
id: layout_onecol
library: layout_discovery/onecol
disable_css: false
entity_classes: all_classes
settings: { }
regions:
content:
- field_image
- group_card_content
- node_title
- field_case_study_subtitle
fields:
node_title:
plugin_id: node_title
weight: 2
label: hidden
formatter: default
settings:
link: true
wrapper: h2
class: title
exclude_node_title: '1'
field_group:
group_card_content:
children:
- node_title
- field_case_study_subtitle
parent_name: ''
weight: 1
format_type: html_element
format_settings:
id: ''
classes: ''
element: div
show_label: false
label_element: h3
attributes: ''
effect: none
speed: fast
label: 'Card Content'
region: content
id: node.case_study.card
targetEntityType: node
bundle: case_study
mode: card
content:
field_case_study_subtitle:
type: string
weight: 3
region: content
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
field_image:
type: responsive_image
weight: 0
region: content
label: hidden
settings:
responsive_image_style: wide
image_link: content
third_party_settings: { }
hidden:
body: true
field_body_paragraph: true
field_case_study_client: true
field_case_study_partners: true
field_case_study_status: true
field_case_study_team: true
field_case_study_technologies: true
field_case_study_year: true
field_license: true
field_meta_tags: true
field_services: true
field_summary: true
links: true

View file

@ -0,0 +1,66 @@
langcode: en
status: true
dependencies:
config:
- field.field.node.case_study.body
- field.field.node.case_study.field_body_paragraph
- field.field.node.case_study.field_case_study_client
- field.field.node.case_study.field_case_study_partners
- field.field.node.case_study.field_case_study_status
- field.field.node.case_study.field_case_study_subtitle
- field.field.node.case_study.field_case_study_team
- field.field.node.case_study.field_case_study_technologies
- field.field.node.case_study.field_case_study_year
- field.field.node.case_study.field_image
- field.field.node.case_study.field_license
- field.field.node.case_study.field_meta_tags
- field.field.node.case_study.field_services
- field.field.node.case_study.field_summary
- node.type.case_study
module:
- ds
- text
- user
third_party_settings:
ds:
layout:
id: layout_onecol
library: layout_discovery/onecol
disable_css: false
entity_classes: all_classes
settings: { }
regions: { }
id: node.case_study.default
targetEntityType: node
bundle: case_study
mode: default
content:
field_license:
weight: 1
label: above
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: content
field_summary:
weight: 2
label: above
settings: { }
third_party_settings: { }
type: text_default
region: content
hidden:
body: true
field_body_paragraph: true
field_case_study_client: true
field_case_study_partners: true
field_case_study_status: true
field_case_study_subtitle: true
field_case_study_team: true
field_case_study_technologies: true
field_case_study_year: true
field_image: true
field_meta_tags: true
field_services: true
links: true

View file

@ -0,0 +1,170 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.full
- field.field.node.case_study.body
- field.field.node.case_study.field_body_paragraph
- field.field.node.case_study.field_case_study_client
- field.field.node.case_study.field_case_study_partners
- field.field.node.case_study.field_case_study_status
- field.field.node.case_study.field_case_study_subtitle
- field.field.node.case_study.field_case_study_team
- field.field.node.case_study.field_case_study_technologies
- field.field.node.case_study.field_case_study_year
- field.field.node.case_study.field_image
- field.field.node.case_study.field_license
- field.field.node.case_study.field_meta_tags
- field.field.node.case_study.field_services
- field.field.node.case_study.field_summary
- node.type.case_study
- responsive_image.styles.wide
module:
- ds
- paragraphs
- responsive_image
- text
- user
third_party_settings:
ds:
layout:
id: layout_onecol
library: layout_discovery/onecol
disable_css: false
entity_classes: all_classes
settings: { }
regions:
content:
- field_image
- node_title
- field_case_study_subtitle
- field_body_paragraph
- field_case_study_client
- field_case_study_year
- field_case_study_status
- field_case_study_technologies
- field_services
- field_case_study_team
- field_case_study_partners
- field_license
fields:
node_title:
plugin_id: node_title
weight: 1
label: hidden
formatter: default
id: node.case_study.full
targetEntityType: node
bundle: case_study
mode: full
content:
field_body_paragraph:
type: paragraph_summary
weight: 3
region: content
label: visually_hidden
settings: { }
third_party_settings: { }
field_case_study_client:
type: text_default
weight: 4
region: content
label: above
settings: { }
third_party_settings: { }
field_case_study_partners:
type: text_default
weight: 10
region: content
label: above
settings: { }
third_party_settings: { }
field_case_study_status:
type: string
weight: 6
region: content
label: above
settings:
link_to_entity: false
third_party_settings: { }
field_case_study_subtitle:
type: string
weight: 2
region: content
label: visually_hidden
settings:
link_to_entity: false
third_party_settings: { }
field_case_study_team:
type: entity_reference_entity_view
weight: 9
region: content
label: above
settings:
view_mode: default
link: false
third_party_settings: { }
field_case_study_technologies:
type: entity_reference_entity_view
weight: 7
region: content
label: above
settings:
view_mode: default
link: false
third_party_settings: { }
field_case_study_year:
type: number_integer
weight: 5
region: content
label: above
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
field_image:
type: responsive_image
weight: 0
region: content
label: visually_hidden
settings:
responsive_image_style: wide
image_link: ''
third_party_settings:
ds:
ft:
id: default
settings:
lb: ''
lb-col: false
classes: { }
field_license:
type: entity_reference_entity_view
weight: 11
region: content
label: above
settings:
view_mode: default
link: false
third_party_settings:
ds:
ft:
id: default
settings:
lb: ''
lb-col: false
classes: { }
field_services:
type: entity_reference_entity_view
weight: 8
region: content
label: above
settings:
view_mode: default
link: false
third_party_settings: { }
hidden:
body: true
field_meta_tags: true
field_summary: true
links: true

View file

@ -0,0 +1,53 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.search_index
- field.field.node.case_study.body
- field.field.node.case_study.field_body_paragraph
- field.field.node.case_study.field_case_study_client
- field.field.node.case_study.field_case_study_partners
- field.field.node.case_study.field_case_study_status
- field.field.node.case_study.field_case_study_subtitle
- field.field.node.case_study.field_case_study_team
- field.field.node.case_study.field_case_study_technologies
- field.field.node.case_study.field_case_study_year
- field.field.node.case_study.field_image
- field.field.node.case_study.field_license
- field.field.node.case_study.field_meta_tags
- field.field.node.case_study.field_services
- field.field.node.case_study.field_summary
- node.type.case_study
module:
- ds
- user
third_party_settings:
ds:
layout:
id: layout_onecol
library: layout_discovery/onecol
disable_css: false
entity_classes: all_classes
settings: { }
regions: { }
id: node.case_study.search_index
targetEntityType: node
bundle: case_study
mode: search_index
content: { }
hidden:
body: true
field_body_paragraph: true
field_case_study_client: true
field_case_study_partners: true
field_case_study_status: true
field_case_study_subtitle: true
field_case_study_team: true
field_case_study_technologies: true
field_case_study_year: true
field_image: true
field_license: true
field_meta_tags: true
field_services: true
field_summary: true
links: true

View file

@ -0,0 +1,150 @@
langcode: en
status: false
dependencies:
config:
- core.entity_view_mode.node.small_card
- field.field.node.case_study.body
- field.field.node.case_study.field_body_paragraph
- field.field.node.case_study.field_case_study_client
- field.field.node.case_study.field_case_study_partners
- field.field.node.case_study.field_case_study_status
- field.field.node.case_study.field_case_study_subtitle
- field.field.node.case_study.field_case_study_team
- field.field.node.case_study.field_case_study_technologies
- field.field.node.case_study.field_case_study_year
- field.field.node.case_study.field_image
- field.field.node.case_study.field_meta_tags
- field.field.node.case_study.field_services
- node.type.case_study
module:
- ds
- metatag
- paragraphs
- responsive_image
- text
- user
third_party_settings:
ds:
layout:
id: layout_onecol
library: layout_discovery/onecol
disable_css: false
entity_classes: all_classes
settings: { }
regions:
content:
- body
- field_services
- field_body_paragraph
- field_meta_tags
- field_image
- field_case_study_year
- field_case_study_technologies
- field_case_study_team
- field_case_study_subtitle
- field_case_study_status
- field_case_study_partners
- field_case_study_client
id: node.case_study.small_card
targetEntityType: node
bundle: case_study
mode: small_card
content:
body:
type: text_default
weight: 0
region: content
label: above
settings: { }
third_party_settings: { }
field_body_paragraph:
type: paragraph_summary
weight: 0
region: content
label: above
settings: { }
third_party_settings: { }
field_case_study_client:
type: text_default
weight: 0
region: content
label: above
settings: { }
third_party_settings: { }
field_case_study_partners:
type: text_default
weight: 0
region: content
label: above
settings: { }
third_party_settings: { }
field_case_study_status:
type: string
weight: 0
region: content
label: above
settings:
link_to_entity: false
third_party_settings: { }
field_case_study_subtitle:
type: string
weight: 0
region: content
label: above
settings:
link_to_entity: false
third_party_settings: { }
field_case_study_team:
type: entity_reference_entity_view
weight: 0
region: content
label: above
settings:
view_mode: default
link: false
third_party_settings: { }
field_case_study_technologies:
type: entity_reference_entity_view
weight: 0
region: content
label: above
settings:
view_mode: default
link: false
third_party_settings: { }
field_case_study_year:
type: number_integer
weight: 0
region: content
label: above
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
field_image:
type: responsive_image
weight: 0
region: content
label: above
settings:
responsive_image_style: ''
image_link: ''
third_party_settings: { }
field_meta_tags:
type: metatag_empty_formatter
weight: 0
region: content
label: above
settings: { }
third_party_settings: { }
field_services:
type: entity_reference_entity_view
weight: 0
region: content
label: above
settings:
view_mode: default
link: false
third_party_settings: { }
hidden:
links: true

View file

@ -0,0 +1,27 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.case_study.body
- node.type.case_study
module:
- text
- user
id: node.case_study.teaser
targetEntityType: node
bundle: case_study
mode: teaser
content:
body:
label: hidden
type: text_summary_or_trimmed
weight: 101
settings:
trim_length: 600
third_party_settings: { }
region: content
links:
weight: 100
region: content
hidden: { }

View file

@ -0,0 +1,97 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.tile
- field.field.node.case_study.body
- field.field.node.case_study.field_body_paragraph
- field.field.node.case_study.field_case_study_client
- field.field.node.case_study.field_case_study_partners
- field.field.node.case_study.field_case_study_status
- field.field.node.case_study.field_case_study_subtitle
- field.field.node.case_study.field_case_study_team
- field.field.node.case_study.field_case_study_technologies
- field.field.node.case_study.field_case_study_year
- field.field.node.case_study.field_image
- field.field.node.case_study.field_meta_tags
- field.field.node.case_study.field_services
- node.type.case_study
- responsive_image.styles.wide
module:
- ds
- responsive_image
- user
third_party_settings:
ds:
layout:
id: layout_onecol
library: layout_discovery/onecol
disable_css: false
entity_classes: all_classes
settings: { }
regions:
content:
- field_image
- node_title
- field_case_study_subtitle
fields:
node_title:
plugin_id: node_title
weight: 1
label: hidden
formatter: default
settings:
link: true
wrapper: h2
class: title
exclude_node_title: '1'
id: node.case_study.tile
targetEntityType: node
bundle: case_study
mode: tile
content:
field_case_study_subtitle:
type: string
weight: 2
region: content
label: hidden
settings:
link_to_entity: false
third_party_settings:
ds:
ft:
id: default
settings:
lb: ''
classes:
- subtitle
lb-col: false
field_image:
type: responsive_image
weight: 0
region: content
label: hidden
settings:
responsive_image_style: wide
image_link: content
third_party_settings:
ds:
ft:
id: default
settings:
lb: ''
classes:
- card-image
lb-col: false
hidden:
body: true
field_body_paragraph: true
field_case_study_client: true
field_case_study_partners: true
field_case_study_status: true
field_case_study_team: true
field_case_study_technologies: true
field_case_study_year: true
field_meta_tags: true
field_services: true
links: true

View file

@ -0,0 +1,32 @@
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.license
module:
- ds
- text
third_party_settings:
ds:
layout:
id: layout_onecol
library: layout_discovery/onecol
disable_css: false
entity_classes: all_classes
settings: { }
regions:
content:
- description
id: taxonomy_term.license.default
targetEntityType: taxonomy_term
bundle: license
mode: default
content:
description:
label: hidden
type: text_default
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden: { }

View file

@ -0,0 +1,21 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.body
- node.type.case_study
module:
- text
id: node.case_study.body
field_name: body
entity_type: node
bundle: case_study
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
field_type: text_with_summary

View file

@ -0,0 +1,63 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_body_paragraph
- node.type.case_study
- paragraphs.paragraphs_type.file
- paragraphs.paragraphs_type.image
- paragraphs.paragraphs_type.slide
- paragraphs.paragraphs_type.storyline_header
- paragraphs.paragraphs_type.storyline_item
- paragraphs.paragraphs_type.text
- paragraphs.paragraphs_type.update
module:
- entity_reference_revisions
id: node.case_study.field_body_paragraph
field_name: field_body_paragraph
entity_type: node
bundle: case_study
label: 'Body paragraph'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:paragraph'
handler_settings:
negate: 0
target_bundles:
file: file
image: image
slide: slide
storyline_header: storyline_header
storyline_item: storyline_item
text: text
update: update
target_bundles_drag_drop:
faq:
weight: 9
enabled: false
file:
enabled: true
weight: 10
image:
enabled: true
weight: 11
slide:
enabled: true
weight: 12
storyline_header:
enabled: true
weight: 13
storyline_item:
enabled: true
weight: 14
text:
enabled: true
weight: 15
update:
enabled: true
weight: 16
field_type: entity_reference_revisions

View file

@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_case_study_client
- node.type.case_study
module:
- text
id: node.case_study.field_case_study_client
field_name: field_case_study_client
entity_type: node
bundle: case_study
label: Client
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: text

View file

@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_case_study_partners
- node.type.case_study
module:
- text
id: node.case_study.field_case_study_partners
field_name: field_case_study_partners
entity_type: node
bundle: case_study
label: Partners
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: text

View file

@ -0,0 +1,18 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_case_study_status
- node.type.case_study
id: node.case_study.field_case_study_status
field_name: field_case_study_status
entity_type: node
bundle: case_study
label: Status
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View file

@ -0,0 +1,18 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_case_study_subtitle
- node.type.case_study
id: node.case_study.field_case_study_subtitle
field_name: field_case_study_subtitle
entity_type: node
bundle: case_study
label: Subtitle
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View file

@ -0,0 +1,27 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_case_study_team
- node.type.case_study
- node.type.people
id: node.case_study.field_case_study_team
field_name: field_case_study_team
entity_type: node
bundle: case_study
label: Team
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:node'
handler_settings:
target_bundles:
people: people
sort:
field: _none
auto_create: true
auto_create_bundle: ''
field_type: entity_reference

View file

@ -0,0 +1,22 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_case_study_year
- node.type.case_study
id: node.case_study.field_case_study_year
field_name: field_case_study_year
entity_type: node
bundle: case_study
label: Year
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
min: null
max: null
prefix: ''
suffix: ''
field_type: integer

View file

@ -0,0 +1,37 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_image
- node.type.case_study
module:
- image
id: node.case_study.field_image
field_name: field_image
entity_type: node
bundle: case_study
label: Image
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
handler: 'default:file'
handler_settings: { }
field_type: image

View file

@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_meta_tags
- node.type.case_study
module:
- metatag
id: node.case_study.field_meta_tags
field_name: field_meta_tags
entity_type: node
bundle: case_study
label: 'Meta tags'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: metatag

View file

@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_summary
- node.type.case_study
module:
- text
id: node.case_study.field_summary
field_name: field_summary
entity_type: node
bundle: case_study
label: Summary
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long

View file

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- node
- text
id: node.field_case_study_client
field_name: field_case_study_client
entity_type: node
type: text
settings:
max_length: 255
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View file

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- node
- text
id: node.field_case_study_partners
field_name: field_case_study_partners
entity_type: node
type: text
settings:
max_length: 255
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View file

@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
module:
- node
id: node.field_case_study_status
field_name: field_case_study_status
entity_type: node
type: string
settings:
max_length: 255
is_ascii: false
case_sensitive: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View file

@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
module:
- node
id: node.field_case_study_subtitle
field_name: field_case_study_subtitle
entity_type: node
type: string
settings:
max_length: 255
is_ascii: false
case_sensitive: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View file

@ -0,0 +1,18 @@
langcode: en
status: true
dependencies:
module:
- node
id: node.field_case_study_team
field_name: field_case_study_team
entity_type: node
type: entity_reference
settings:
target_type: node
module: core
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View file

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- node
id: node.field_case_study_year
field_name: field_case_study_year
entity_type: node
type: integer
settings:
unsigned: false
size: normal
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View file

@ -0,0 +1,17 @@
langcode: en
status: true
dependencies:
module:
- menu_ui
third_party_settings:
menu_ui:
available_menus:
- main
parent: 'main:'
name: 'Case Study'
type: case_study
description: ''
help: ''
new_revision: true
preview_mode: 0
display_submitted: false

View file

@ -0,0 +1,21 @@
langcode: en
status: true
dependencies:
module:
- node
id: case_study
label: 'Case Study'
type: 'canonical_entities:node'
pattern: 'work/[node:title]'
selection_criteria:
5749b1a9-7bf5-48fe-9d28-6eb46aba53f1:
id: node_type
bundles:
case_study: case_study
negate: false
context_mapping:
node: node
uuid: 5749b1a9-7bf5-48fe-9d28-6eb46aba53f1
selection_logic: and
weight: -5
relationships: { }

View file

@ -0,0 +1,285 @@
langcode: en
status: true
dependencies:
module:
- user
- search_api
- node
config:
- field.storage.node.field_case_study_client
- field.storage.node.field_case_study_partners
- field.storage.node.field_services
- field.storage.node.field_case_study_status
- field.storage.node.field_case_study_subtitle
- field.storage.node.field_summary
- field.storage.node.field_case_study_team
- field.storage.node.field_case_study_technologies
- field.storage.node.field_case_study_year
- search_api.server.database
id: case_study
name: 'Case Study'
description: 'An index for the case study content type.'
read_only: false
field_settings:
changed:
label: Changed
datasource_id: 'entity:node'
property_path: changed
type: date
created:
label: 'Authored on'
datasource_id: 'entity:node'
property_path: created
type: date
field_case_study_client:
label: Client
datasource_id: 'entity:node'
property_path: field_case_study_client
type: string
dependencies:
config:
- field.storage.node.field_case_study_client
field_case_study_partners:
label: Partners
datasource_id: 'entity:node'
property_path: field_case_study_partners
type: string
dependencies:
config:
- field.storage.node.field_case_study_partners
field_case_study_status:
label: Status
datasource_id: 'entity:node'
property_path: field_case_study_status
type: string
dependencies:
config:
- field.storage.node.field_case_study_status
field_case_study_subtitle:
label: Subtitle
datasource_id: 'entity:node'
property_path: field_case_study_subtitle
type: string
dependencies:
config:
- field.storage.node.field_case_study_subtitle
field_case_study_team:
label: Team
datasource_id: 'entity:node'
property_path: field_case_study_team
type: integer
dependencies:
config:
- field.storage.node.field_case_study_team
field_case_study_technologies:
label: Technologies
datasource_id: 'entity:node'
property_path: field_case_study_technologies
type: integer
dependencies:
config:
- field.storage.node.field_case_study_technologies
field_case_study_year:
label: Year
datasource_id: 'entity:node'
property_path: field_case_study_year
type: integer
dependencies:
config:
- field.storage.node.field_case_study_year
field_services:
label: Services
datasource_id: 'entity:node'
property_path: field_services
type: integer
dependencies:
config:
- field.storage.node.field_services
field_summary:
label: Summary
datasource_id: 'entity:node'
property_path: field_summary
type: text
dependencies:
config:
- field.storage.node.field_summary
name:
label: 'Authored by » User » Name'
datasource_id: 'entity:node'
property_path: 'uid:entity:name'
type: string
dependencies:
module:
- user
node_grants:
label: 'Node access information'
property_path: search_api_node_grants
type: string
indexed_locked: true
type_locked: true
hidden: true
promote:
label: 'Promoted to front page'
datasource_id: 'entity:node'
property_path: promote
type: boolean
rendered_item:
label: 'Rendered HTML output'
property_path: rendered_item
type: text
configuration:
roles:
anonymous: anonymous
view_mode:
'entity:node':
action: ''
article: ''
blog: ''
campaign: ''
event: ''
landing_page: ''
page: ''
people: ''
resource: ''
status:
label: Published
datasource_id: 'entity:node'
property_path: status
type: boolean
indexed_locked: true
type_locked: true
sticky:
label: 'Sticky at top of lists'
datasource_id: 'entity:node'
property_path: sticky
type: boolean
title:
label: Title
datasource_id: 'entity:node'
property_path: title
type: text
boost: !!float 8
uid:
label: 'Authored by'
datasource_id: 'entity:node'
property_path: uid
type: integer
indexed_locked: true
type_locked: true
datasource_settings:
'entity:node':
bundles:
default: false
selected:
- case_study
languages:
default: true
selected: { }
processor_settings:
add_url: { }
aggregated_field: { }
content_access:
weights:
preprocess_query: -45
entity_status: { }
html_filter:
all_fields: false
fields:
- field_summary
- rendered_item
title: true
alt: true
tags:
b: 2
h1: 5
h2: 3
h3: 2
strong: 2
weights:
preprocess_index: -46
preprocess_query: -47
ignorecase:
all_fields: false
fields:
- field_summary
- name
- rendered_item
- title
weights:
preprocess_index: -49
preprocess_query: -49
rendered_item: { }
stopwords:
all_fields: false
fields:
- field_summary
- rendered_item
- title
stopwords:
- a
- an
- and
- are
- as
- at
- be
- but
- by
- for
- if
- in
- into
- is
- it
- 'no'
- not
- of
- 'on'
- or
- s
- such
- t
- that
- the
- their
- then
- there
- these
- they
- this
- to
- was
- will
- with
weights:
preprocess_index: -48
preprocess_query: -50
tokenizer:
all_fields: false
fields:
- field_summary
- rendered_item
- title
spaces: ''
overlap_cjk: 1
minimum_word_size: '3'
weights:
preprocess_index: -44
preprocess_query: -46
transliteration:
all_fields: false
fields:
- field_summary
- name
- rendered_item
- title
weights:
preprocess_index: -47
preprocess_query: -48
tracker_settings:
default:
indexing_order: fifo
options:
index_directly: true
cron_limit: 50
server: database

View file

@ -0,0 +1,250 @@
langcode: en
status: true
dependencies:
config:
- search_api.index.case_study
- system.menu.main
module:
- search_api
id: case_study
label: 'Case Study'
module: views
description: ''
tag: ''
base_table: search_api_index_case_study
base_field: search_api_id
core: 8.x
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: none
options: { }
cache:
type: none
options: { }
query:
type: views_query
options:
bypass_access: false
skip_access: false
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: some
options:
items_per_page: 10
offset: 0
style:
type: default
options:
row_class: ''
default_row_class: false
uses_fields: false
row:
type: search_api
options:
view_modes:
'entity:node':
case_study: tile
fields:
changed:
table: search_api_index_case_study
field: changed
id: changed
entity_type: null
entity_field: null
plugin_id: search_api_field
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: timestamp
settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api_date
fallback_options:
date_format: small
custom_date_format: ''
timezone: ''
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
filters: { }
sorts:
sticky:
id: sticky
table: search_api_index_case_study
field: sticky
relationship: none
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
plugin_id: search_api
created:
id: created
table: search_api_index_case_study
field: created
relationship: none
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
plugin_id: search_api
title: 'Case Study'
header: { }
footer: { }
empty: { }
relationships: { }
arguments: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
tags: { }
block_promoted:
display_plugin: block
id: block_promoted
display_title: 'Block Promoted'
position: 2
display_options:
display_extenders: { }
title: Work
defaults:
title: false
pager: false
use_more: false
use_more_always: false
use_more_text: false
pager:
type: full
options:
items_per_page: 6
offset: 0
id: 0
total_pages: null
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
tags:
previous: ' Previous'
next: 'Next '
first: '« First'
last: 'Last »'
quantity: 9
display_description: ''
use_more: true
use_more_always: true
use_more_text: more
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
tags: { }
page_listing:
display_plugin: page
id: page_listing
display_title: Page
position: 1
display_options:
display_extenders: { }
path: work
menu:
type: normal
title: Work
description: 'See some of what we''ve built.'
expanded: false
parent: ''
weight: 0
context: '0'
menu_name: main
pager:
type: none
options:
offset: 0
defaults:
pager: false
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
tags: { }

View file

@ -0,0 +1,12 @@
bundle: drutopia
excluded:
- field.field.node.case_study.field_case_study_technologies
- field.field.node.case_study.field_license
- field.field.node.case_study.field_services
- field.storage.node.field_case_study_technologies
- field.storage.node.field_license
- field.storage.node.field_services
- taxonomy.vocabulary.license
- taxonomy.vocabulary.services
- taxonomy.vocabulary.technologies
required: true

View file

@ -0,0 +1,28 @@
name: 'Drutopia Case Study'
description: 'A Case Study highlights work done on a project.'
type: module
core: 8.x
dependencies:
- drutopia_core
- drutopia_people
- drutopia_seo
- drutopia_storyline
- ds
- entity_reference_revisions
- field
- field_group
- image
- menu_ui
- metatag
- node
- paragraphs
- path
- pathauto
- responsive_image
- search_api
- taxonomy
- text
- user
- views
version: 8.x-1.0-alpha1
package: Drutopia