Add missing field configuration and remove license taxonomy configuration

This commit is contained in:
Clayton Dewey 2018-10-18 11:00:08 -06:00
parent 515b889d4b
commit cbf270dc8c
17 changed files with 202 additions and 97 deletions

View file

@ -0,0 +1,34 @@
langcode: en
status: true
dependencies:
module:
- drutopia_case_study
id: config_sync.module.drutopia_case_study
snapshotSet: config_sync
extensionType: module
extensionName: drutopia_case_study
items:
-
collection: ''
name: taxonomy.vocabulary.services
data:
langcode: en
status: true
dependencies: { }
name: Services
vid: services
description: ''
hierarchy: 0
weight: 0
-
collection: ''
name: taxonomy.vocabulary.technologies
data:
langcode: en
status: true
dependencies: { }
name: Technologies
vid: technologies
description: ''
hierarchy: 0
weight: 0

View file

@ -9,13 +9,13 @@ dependencies:
- field.field.node.case_study.field_case_study_status - 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_subtitle
- field.field.node.case_study.field_case_study_team - 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_case_study_year
- field.field.node.case_study.field_image - field.field.node.case_study.field_image
- field.field.node.case_study.field_license - field.field.node.case_study.field_license
- field.field.node.case_study.field_meta_tags - field.field.node.case_study.field_meta_tags
- field.field.node.case_study.field_services - field.field.node.case_study.field_services
- field.field.node.case_study.field_summary - field.field.node.case_study.field_summary
- field.field.node.case_study.field_technologies
- image.style.thumbnail - image.style.thumbnail
- node.type.case_study - node.type.case_study
module: module:
@ -88,15 +88,6 @@ content:
third_party_settings: { } third_party_settings: { }
type: entity_reference_autocomplete type: entity_reference_autocomplete
region: content 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: field_case_study_year:
weight: 6 weight: 6
settings: settings:
@ -128,7 +119,7 @@ content:
type: metatag_firehose type: metatag_firehose
region: content region: content
field_services: field_services:
weight: 9 weight: 8
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
size: 60 size: 60
@ -144,6 +135,15 @@ content:
third_party_settings: { } third_party_settings: { }
type: text_textarea type: text_textarea
region: content region: content
field_technologies:
weight: 9
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
path: path:
type: path type: path
weight: 15 weight: 15

View file

@ -10,7 +10,6 @@ dependencies:
- field.field.node.case_study.field_case_study_status - 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_subtitle
- field.field.node.case_study.field_case_study_team - 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_case_study_year
- field.field.node.case_study.field_image - field.field.node.case_study.field_image
- field.field.node.case_study.field_license - field.field.node.case_study.field_license
@ -97,7 +96,6 @@ hidden:
field_case_study_partners: true field_case_study_partners: true
field_case_study_status: true field_case_study_status: true
field_case_study_team: true field_case_study_team: true
field_case_study_technologies: true
field_case_study_year: true field_case_study_year: true
field_license: true field_license: true
field_meta_tags: true field_meta_tags: true

View file

@ -9,13 +9,13 @@ dependencies:
- field.field.node.case_study.field_case_study_status - 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_subtitle
- field.field.node.case_study.field_case_study_team - 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_case_study_year
- field.field.node.case_study.field_image - field.field.node.case_study.field_image
- field.field.node.case_study.field_license - field.field.node.case_study.field_license
- field.field.node.case_study.field_meta_tags - field.field.node.case_study.field_meta_tags
- field.field.node.case_study.field_services - field.field.node.case_study.field_services
- field.field.node.case_study.field_summary - field.field.node.case_study.field_summary
- field.field.node.case_study.field_technologies
- node.type.case_study - node.type.case_study
module: module:
- ds - ds
@ -50,6 +50,14 @@ content:
third_party_settings: { } third_party_settings: { }
type: text_default type: text_default
region: content region: content
field_technologies:
weight: 3
label: above
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: content
hidden: hidden:
body: true body: true
field_body_paragraph: true field_body_paragraph: true
@ -58,7 +66,6 @@ hidden:
field_case_study_status: true field_case_study_status: true
field_case_study_subtitle: true field_case_study_subtitle: true
field_case_study_team: true field_case_study_team: true
field_case_study_technologies: true
field_case_study_year: true field_case_study_year: true
field_image: true field_image: true
field_meta_tags: true field_meta_tags: true

View file

@ -10,7 +10,6 @@ dependencies:
- field.field.node.case_study.field_case_study_status - 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_subtitle
- field.field.node.case_study.field_case_study_team - 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_case_study_year
- field.field.node.case_study.field_image - field.field.node.case_study.field_image
- field.field.node.case_study.field_license - field.field.node.case_study.field_license
@ -104,15 +103,6 @@ content:
view_mode: default view_mode: default
link: false link: false
third_party_settings: { } 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: field_case_study_year:
type: number_integer type: number_integer
weight: 5 weight: 5

View file

@ -10,7 +10,6 @@ dependencies:
- field.field.node.case_study.field_case_study_status - 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_subtitle
- field.field.node.case_study.field_case_study_team - 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_case_study_year
- field.field.node.case_study.field_image - field.field.node.case_study.field_image
- field.field.node.case_study.field_license - field.field.node.case_study.field_license
@ -43,7 +42,6 @@ hidden:
field_case_study_status: true field_case_study_status: true
field_case_study_subtitle: true field_case_study_subtitle: true
field_case_study_team: true field_case_study_team: true
field_case_study_technologies: true
field_case_study_year: true field_case_study_year: true
field_image: true field_image: true
field_license: true field_license: true

View file

@ -10,11 +10,12 @@ dependencies:
- field.field.node.case_study.field_case_study_status - 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_subtitle
- field.field.node.case_study.field_case_study_team - 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_case_study_year
- field.field.node.case_study.field_image - 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_meta_tags
- field.field.node.case_study.field_services - field.field.node.case_study.field_services
- field.field.node.case_study.field_summary
- node.type.case_study - node.type.case_study
module: module:
- ds - ds
@ -103,15 +104,6 @@ content:
view_mode: default view_mode: default
link: false link: false
third_party_settings: { } 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: field_case_study_year:
type: number_integer type: number_integer
weight: 0 weight: 0
@ -147,4 +139,6 @@ content:
link: false link: false
third_party_settings: { } third_party_settings: { }
hidden: hidden:
field_license: true
field_summary: true
links: true links: true

View file

@ -10,11 +10,12 @@ dependencies:
- field.field.node.case_study.field_case_study_status - 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_subtitle
- field.field.node.case_study.field_case_study_team - 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_case_study_year
- field.field.node.case_study.field_image - 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_meta_tags
- field.field.node.case_study.field_services - field.field.node.case_study.field_services
- field.field.node.case_study.field_summary
- node.type.case_study - node.type.case_study
- responsive_image.styles.wide - responsive_image.styles.wide
module: module:
@ -90,8 +91,9 @@ hidden:
field_case_study_partners: true field_case_study_partners: true
field_case_study_status: true field_case_study_status: true
field_case_study_team: true field_case_study_team: true
field_case_study_technologies: true
field_case_study_year: true field_case_study_year: true
field_license: true
field_meta_tags: true field_meta_tags: true
field_services: true field_services: true
field_summary: true
links: true links: true

View file

@ -1,32 +0,0 @@
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,32 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_license
- node.type.case_study
- taxonomy.vocabulary.license
content:
- 'taxonomy_term:license:61745acc-d11c-4e65-bd9e-518d223fedab'
id: node.case_study.field_license
field_name: field_license
entity_type: node
bundle: case_study
label: License
description: ''
required: false
translatable: false
default_value:
-
target_uuid: 61745acc-d11c-4e65-bd9e-518d223fedab
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
license: license
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View file

@ -0,0 +1,28 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_services
- node.type.case_study
- taxonomy.vocabulary.services
id: node.case_study.field_services
field_name: field_services
entity_type: node
bundle: case_study
label: Services
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
services: services
sort:
field: name
direction: asc
auto_create: true
auto_create_bundle: ''
field_type: entity_reference

View file

@ -0,0 +1,28 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_technologies
- node.type.case_study
- taxonomy.vocabulary.technologies
id: node.case_study.field_technologies
field_name: field_technologies
entity_type: node
bundle: case_study
label: Technologies
description: '<a href="/admin/structure/taxonomy/manage/technologies/add">Add new technology term</a>'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
technologies: technologies
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View file

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- node
- taxonomy
id: node.field_services
field_name: field_services
entity_type: node
type: entity_reference
settings:
target_type: taxonomy_term
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
- taxonomy
id: node.field_technologies
field_name: field_technologies
entity_type: node
type: entity_reference
settings:
target_type: taxonomy_term
module: core
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View file

@ -1,21 +1,20 @@
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
config:
- field.storage.node.field_case_study_client
- field.storage.node.field_case_study_partners
- field.storage.node.field_case_study_status
- field.storage.node.field_case_study_subtitle
- field.storage.node.field_case_study_team
- field.storage.node.field_case_study_year
- field.storage.node.field_services
- field.storage.node.field_summary
- search_api.server.database
module: module:
- user - user
- search_api - search_api
- node - 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 id: case_study
name: 'Case Study' name: 'Case Study'
description: 'An index for the case study content type.' description: 'An index for the case study content type.'
@ -71,14 +70,6 @@ field_settings:
dependencies: dependencies:
config: config:
- field.storage.node.field_case_study_team - 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: field_case_study_year:
label: Year label: Year
datasource_id: 'entity:node' datasource_id: 'entity:node'

View file

@ -1,12 +1,7 @@
bundle: drutopia bundle: drutopia
excluded: 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_license
- field.storage.node.field_services - field.storage.node.field_case_study_technologies
- taxonomy.vocabulary.license - taxonomy.vocabulary.license
- taxonomy.vocabulary.services - field.field.node.case_study.field_case_study_technologies
- taxonomy.vocabulary.technologies
required: true required: true

View file

@ -3,6 +3,8 @@ description: 'A Case Study highlights work done on a project.'
type: module type: module
core: 8.x core: 8.x
dependencies: dependencies:
- config_snapshot
- drutopia_case_study
- drutopia_core - drutopia_core
- drutopia_creative_license - drutopia_creative_license
- drutopia_people - drutopia_people