Skip to content

Commit

Permalink
VACMS-15714 Add VAMC System Police content type
Browse files Browse the repository at this point in the history
  • Loading branch information
swirtSJW committed Nov 20, 2023
1 parent 1c8f7f6 commit ae2aa23
Show file tree
Hide file tree
Showing 19 changed files with 830 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 7670d9bb-6ebe-4f07-84d8-6f3cc80e9bd3
langcode: en
status: true
dependencies:
config:
- node.type.vamc_system_va_police
id: node.vamc_system_va_police.promote
field_name: promote
entity_type: node
bundle: vamc_system_va_police
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
uuid: 8d5d6c51-bc09-4f5f-8f6f-30cc23dc4b4a
langcode: en
status: true
dependencies:
config:
- field.field.node.vamc_system_va_police.body
- field.field.node.vamc_system_va_police.field_administration
- field.field.node.vamc_system_va_police.field_cc_faq
- field.field.node.vamc_system_va_police.field_cc_police_report
- field.field.node.vamc_system_va_police.field_cc_term_definitions
- field.field.node.vamc_system_va_police.field_cc_va_police_overview
- field.field.node.vamc_system_va_police.field_enforce_unique_combo_offic
- field.field.node.vamc_system_va_police.field_last_saved_by_an_editor
- field.field.node.vamc_system_va_police.field_office
- node.type.vamc_system_va_police
module:
- allow_only_one
- content_moderation
- entity_field_fetch
id: node.vamc_system_va_police.default
targetEntityType: node
bundle: vamc_system_va_police
mode: default
content:
field_administration:
type: entity_reference_autocomplete
weight: 4
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_cc_faq:
type: entity_field_fetch_widget
weight: 9
region: content
settings:
show_field_label: true
show_link_to_source: false
show_source_updated_date: false
third_party_settings: { }
field_cc_police_report:
type: entity_field_fetch_widget
weight: 7
region: content
settings:
show_field_label: true
show_link_to_source: false
show_source_updated_date: false
third_party_settings: { }
field_cc_term_definitions:
type: entity_field_fetch_widget
weight: 8
region: content
settings:
show_field_label: true
show_link_to_source: false
show_source_updated_date: false
third_party_settings: { }
field_cc_va_police_overview:
type: entity_field_fetch_widget
weight: 6
region: content
settings:
show_field_label: true
show_link_to_source: false
show_source_updated_date: false
third_party_settings: { }
field_enforce_unique_combo_offic:
type: allow_only_one_widget
weight: 5
region: content
settings:
size: 1
third_party_settings: { }
field_office:
type: entity_reference_autocomplete
weight: 3
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 10
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 2
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 1
region: content
settings: { }
third_party_settings: { }
hidden:
body: true
created: true
field_last_saved_by_an_editor: true
langcode: true
path: true
promote: true
sticky: true
uid: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
uuid: a4a39395-e389-43d2-93a9-7d74a37c5ad9
langcode: en
status: true
dependencies:
config:
- field.field.node.vamc_system_va_police.body
- field.field.node.vamc_system_va_police.field_administration
- field.field.node.vamc_system_va_police.field_cc_faq
- field.field.node.vamc_system_va_police.field_cc_police_report
- field.field.node.vamc_system_va_police.field_cc_term_definitions
- field.field.node.vamc_system_va_police.field_cc_va_police_overview
- field.field.node.vamc_system_va_police.field_enforce_unique_combo_offic
- field.field.node.vamc_system_va_police.field_last_saved_by_an_editor
- field.field.node.vamc_system_va_police.field_office
- node.type.vamc_system_va_police
module:
- allow_only_one
- entity_field_fetch
- user
id: node.vamc_system_va_police.default
targetEntityType: node
bundle: vamc_system_va_police
mode: default
content:
field_administration:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 3
region: content
field_cc_faq:
type: entity_field_fetch
label: above
settings: { }
third_party_settings: { }
weight: 8
region: content
field_cc_police_report:
type: entity_field_fetch
label: above
settings: { }
third_party_settings: { }
weight: 6
region: content
field_cc_term_definitions:
type: entity_field_fetch
label: above
settings: { }
third_party_settings: { }
weight: 7
region: content
field_cc_va_police_overview:
type: entity_field_fetch
label: above
settings: { }
third_party_settings: { }
weight: 5
region: content
field_enforce_unique_combo_offic:
type: allow_only_one
label: above
settings: { }
third_party_settings: { }
weight: 4
region: content
field_last_saved_by_an_editor:
type: timestamp
label: above
settings:
date_format: medium
custom_date_format: ''
timezone: ''
third_party_settings: { }
weight: 1
region: content
field_office:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
links:
settings: { }
third_party_settings: { }
weight: 0
region: content
hidden:
body: true
breadcrumbs: true
langcode: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
uuid: 8e093143-50b6-43c0-97ec-9cf041f54048
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.vamc_system_va_police.body
- field.field.node.vamc_system_va_police.field_administration
- field.field.node.vamc_system_va_police.field_cc_faq
- field.field.node.vamc_system_va_police.field_cc_police_report
- field.field.node.vamc_system_va_police.field_cc_term_definitions
- field.field.node.vamc_system_va_police.field_cc_va_police_overview
- field.field.node.vamc_system_va_police.field_enforce_unique_combo_offic
- field.field.node.vamc_system_va_police.field_last_saved_by_an_editor
- field.field.node.vamc_system_va_police.field_office
- node.type.vamc_system_va_police
module:
- text
- user
id: node.vamc_system_va_police.teaser
targetEntityType: node
bundle: vamc_system_va_police
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
hidden:
breadcrumbs: true
field_administration: true
field_cc_faq: true
field_cc_police_report: true
field_cc_term_definitions: true
field_cc_va_police_overview: true
field_enforce_unique_combo_offic: true
field_last_saved_by_an_editor: true
field_office: true
langcode: true
search_api_excerpt: true
23 changes: 23 additions & 0 deletions config/sync/field.field.node.vamc_system_va_police.body.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uuid: 3000195f-9142-47ee-9b79-bf0e1f97cc76
langcode: en
status: true
dependencies:
config:
- field.storage.node.body
- node.type.vamc_system_va_police
module:
- text
id: node.vamc_system_va_police.body
field_name: body
entity_type: node
bundle: vamc_system_va_police
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
required_summary: false
field_type: text_with_summary
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
uuid: 8da72415-0f27-4c2f-87c8-ddf79e730a33
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_administration
- node.type.vamc_system_va_police
- taxonomy.vocabulary.administration
module:
- entity_reference_validators
- tmgmt_content
third_party_settings:
entity_reference_validators:
circular_reference: false
circular_reference_deep: false
duplicate_reference: false
tmgmt_content:
excluded: false
id: node.vamc_system_va_police.field_administration
field_name: field_administration
entity_type: node
bundle: vamc_system_va_police
label: Section
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
administration: administration
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
uuid: f1f13153-ae9f-40e6-950b-02518e8ff284
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_cc_faq
- node.type.vamc_system_va_police
module:
- entity_field_fetch
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: node.vamc_system_va_police.field_cc_faq
field_name: field_cc_faq
entity_type: node
bundle: vamc_system_va_police
label: FAQ
description: ''
required: false
translatable: false
default_value:
-
value: null
default_value_callback: ''
settings:
target_entity_type: node
target_entity_id: '63204'
field_to_fetch: field_block_content
target_paragraph_uuid: '141575'
field_type: entity_field_fetch
Loading

0 comments on commit ae2aa23

Please sign in to comment.