Skip to content

Commit

Permalink
1-4 IN-1879
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanletulle committed Jun 20, 2023
1 parent fc1634a commit 363e0cc
Show file tree
Hide file tree
Showing 9 changed files with 169 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@ langcode: en
status: true
dependencies:
config:
- field.field.node.hr_advisories_and_bulletins.field_admin_update_date
- field.field.node.hr_advisories_and_bulletins.field_approval_date
- field.field.node.hr_advisories_and_bulletins.field_approving_signature
- field.field.node.hr_advisories_and_bulletins.field_hr_policy_type
- field.field.node.hr_advisories_and_bulletins.field_keywords
- field.field.node.hr_advisories_and_bulletins.field_policy_background
- field.field.node.hr_advisories_and_bulletins.field_policy_identifier
- field.field.node.hr_advisories_and_bulletins.field_policy_link
- field.field.node.hr_advisories_and_bulletins.field_policy_purpose
- field.field.node.hr_advisories_and_bulletins.field_policy_upload
- field.field.node.hr_advisories_and_bulletins.field_related_agency_forms
- field.field.node.hr_advisories_and_bulletins.field_related_policy
- field.field.node.hr_advisories_and_bulletins.field_related_resources
- field.field.node.hr_advisories_and_bulletins.field_topic_area_of_authority
- field.field.node.hr_advisories_and_bulletins.field_upload_or_link
- node.type.hr_advisories_and_bulletins
- workflows.workflow.editorial
module:
- content_moderation
- datetime
Expand All @@ -34,7 +35,7 @@ third_party_settings:
label: 'Related Directives, Forms, & Resources'
region: content
parent_name: ''
weight: 9
weight: 10
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -49,19 +50,25 @@ mode: default
content:
created:
type: datetime_timestamp
weight: 11
weight: 12
region: content
settings: { }
third_party_settings: { }
field_admin_update_date:
type: datetime_default
weight: 18
region: content
settings: { }
third_party_settings: { }
field_approval_date:
type: datetime_default
weight: 5
weight: 4
region: content
settings: { }
third_party_settings: { }
field_approving_signature:
type: string_textfield
weight: 8
weight: 9
region: content
settings:
size: 60
Expand All @@ -75,22 +82,14 @@ content:
third_party_settings: { }
field_keywords:
type: entity_reference_autocomplete
weight: 16
weight: 17
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_policy_background:
type: text_textarea
weight: 6
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_policy_identifier:
type: string_textfield
weight: 1
Expand All @@ -101,20 +100,66 @@ content:
third_party_settings: { }
field_policy_link:
type: link_default
weight: 3
weight: 7
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
third_party_settings:
conditional_fields:
b9f06e22-44a7-49ff-aa79-15398a32f2fe:
entity_type: node
bundle: hr_advisories_and_bulletins
dependee: field_upload_or_link
settings:
state: visible
condition: value
grouping: AND
values_set: 1
value: ''
values: { }
value_form:
-
value: link
effect: show
effect_options: { }
selector: ''
field_policy_purpose:
type: text_textarea
weight: 7
weight: 5
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_policy_upload:
type: entity_reference_autocomplete
weight: 8
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings:
conditional_fields:
73c7e2a4-2836-4992-888a-1984a848d9c1:
entity_type: node
bundle: hr_advisories_and_bulletins
dependee: field_upload_or_link
settings:
state: visible
condition: value
grouping: AND
values_set: 1
value: ''
values: { }
value_form:
-
value: upload
effect: show
effect_options: { }
selector: ''
field_related_agency_forms:
type: entity_reference_autocomplete
weight: 20
Expand Down Expand Up @@ -145,25 +190,31 @@ content:
third_party_settings: { }
field_topic_area_of_authority:
type: options_select
weight: 4
weight: 3
region: content
settings: { }
third_party_settings: { }
field_upload_or_link:
type: options_select
weight: 6
region: content
settings: { }
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 14
weight: 15
region: content
settings: { }
third_party_settings: { }
path:
type: path
weight: 12
weight: 13
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 15
weight: 16
region: content
settings:
display_label: true
Expand All @@ -178,7 +229,7 @@ content:
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 10
weight: 11
region: content
settings:
match_operator: CONTAINS
Expand All @@ -187,7 +238,7 @@ content:
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 13
weight: 14
region: content
settings: { }
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,26 @@ langcode: en
status: true
dependencies:
config:
- field.field.node.hr_advisories_and_bulletins.field_admin_update_date
- field.field.node.hr_advisories_and_bulletins.field_approval_date
- field.field.node.hr_advisories_and_bulletins.field_approving_signature
- field.field.node.hr_advisories_and_bulletins.field_hr_policy_type
- field.field.node.hr_advisories_and_bulletins.field_keywords
- field.field.node.hr_advisories_and_bulletins.field_policy_background
- field.field.node.hr_advisories_and_bulletins.field_policy_identifier
- field.field.node.hr_advisories_and_bulletins.field_policy_link
- field.field.node.hr_advisories_and_bulletins.field_policy_purpose
- field.field.node.hr_advisories_and_bulletins.field_policy_upload
- field.field.node.hr_advisories_and_bulletins.field_related_agency_forms
- field.field.node.hr_advisories_and_bulletins.field_related_policy
- field.field.node.hr_advisories_and_bulletins.field_related_resources
- field.field.node.hr_advisories_and_bulletins.field_topic_area_of_authority
- field.field.node.hr_advisories_and_bulletins.field_upload_or_link
- node.type.hr_advisories_and_bulletins
module:
- datetime
- field_group
- link
- options
- text
- user
third_party_settings:
Expand All @@ -45,6 +48,15 @@ targetEntityType: node
bundle: hr_advisories_and_bulletins
mode: default
content:
field_admin_update_date:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 13
region: content
field_approval_date:
type: datetime_default
label: inline
Expand All @@ -70,13 +82,6 @@ content:
third_party_settings: { }
weight: 9
region: content
field_policy_background:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 5
region: content
field_policy_identifier:
type: string
label: inline
Expand Down Expand Up @@ -104,6 +109,14 @@ content:
third_party_settings: { }
weight: 6
region: content
field_policy_upload:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 16
region: content
field_related_agency_forms:
type: entity_reference_label
label: above
Expand Down Expand Up @@ -140,6 +153,13 @@ content:
third_party_settings: { }
weight: 3
region: content
field_upload_or_link:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 14
region: content
links:
settings: { }
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,20 @@ status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.hr_advisories_and_bulletins.field_admin_update_date
- field.field.node.hr_advisories_and_bulletins.field_approval_date
- field.field.node.hr_advisories_and_bulletins.field_approving_signature
- field.field.node.hr_advisories_and_bulletins.field_hr_policy_type
- field.field.node.hr_advisories_and_bulletins.field_keywords
- field.field.node.hr_advisories_and_bulletins.field_policy_background
- field.field.node.hr_advisories_and_bulletins.field_policy_identifier
- field.field.node.hr_advisories_and_bulletins.field_policy_link
- field.field.node.hr_advisories_and_bulletins.field_policy_purpose
- field.field.node.hr_advisories_and_bulletins.field_policy_upload
- field.field.node.hr_advisories_and_bulletins.field_related_agency_forms
- field.field.node.hr_advisories_and_bulletins.field_related_policy
- field.field.node.hr_advisories_and_bulletins.field_related_resources
- field.field.node.hr_advisories_and_bulletins.field_topic_area_of_authority
- field.field.node.hr_advisories_and_bulletins.field_upload_or_link
- node.type.hr_advisories_and_bulletins
module:
- user
Expand All @@ -31,15 +33,17 @@ content:
region: content
hidden:
content_moderation_control: true
field_admin_update_date: true
field_approval_date: true
field_approving_signature: true
field_hr_policy_type: true
field_keywords: true
field_policy_background: true
field_policy_identifier: true
field_policy_link: true
field_policy_purpose: true
field_policy_upload: true
field_related_agency_forms: true
field_related_policy: true
field_related_resources: true
field_topic_area_of_authority: true
field_upload_or_link: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 733ca2e3-725d-43d6-bc5d-f257d26c2be8
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_admin_update_date
- node.type.hr_advisories_and_bulletins
module:
- datetime
id: node.hr_advisories_and_bulletins.field_admin_update_date
field_name: field_admin_update_date
entity_type: node
bundle: hr_advisories_and_bulletins
label: 'Administrative Update Date'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: datetime
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ id: node.hr_advisories_and_bulletins.field_policy_link
field_name: field_policy_link
entity_type: node
bundle: hr_advisories_and_bulletins
label: 'Full Document'
label: 'Link to File'
description: 'Enter the link to the file location of this Advisory or Bulletin. Enter the title of the Advisory or Bulletin as the link text and include the file extension in parentheses. Example: "Accretion of Duties (pdf)".'
required: false
translatable: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: b8870633-976f-4e82-9707-d7610812a257
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_policy_upload
- media.type.document
- node.type.hr_advisories_and_bulletins
id: node.hr_advisories_and_bulletins.field_policy_upload
field_name: field_policy_upload
entity_type: node
bundle: hr_advisories_and_bulletins
label: Upload
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:media'
handler_settings:
target_bundles:
document: document
sort:
field: _none
direction: ASC
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
Loading

0 comments on commit 363e0cc

Please sign in to comment.