Exported status before trying new implementation of dependent dropdowns
This commit is contained in:
parent
9aba40c286
commit
4158b1a302
20
config/business_rules.action.test.yml
Normal file
20
config/business_rules.action.test.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
uuid: 2413d003-09ef-49e7-b1b5-6663c3acdee5
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: test
|
||||||
|
label: 'send email'
|
||||||
|
description: test
|
||||||
|
settings:
|
||||||
|
use_site_mail_as_sender: true
|
||||||
|
from: ''
|
||||||
|
to: naomi@aktivix.org
|
||||||
|
subject: test
|
||||||
|
format: text
|
||||||
|
body:
|
||||||
|
value: "<p>test</p>\r\n"
|
||||||
|
format: full_html
|
||||||
|
tags: { }
|
||||||
|
type: send_email
|
||||||
|
target_entity_type: null
|
||||||
|
target_bundle: null
|
@ -0,0 +1,13 @@
|
|||||||
|
uuid: bb3e5774-81c5-44cb-93af-f8912b6ae421
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
description: 'When a client gets the status "3-month follow-up due" or "6-month follow-up due", an email will be sent to the specified address.'
|
||||||
|
id: email_notification_for_follow_up_due
|
||||||
|
label: 'Email notification for follow-up due'
|
||||||
|
enabled: null
|
||||||
|
reacts_on: entity_update
|
||||||
|
items: { }
|
||||||
|
tags: { }
|
||||||
|
target_bundle: client
|
||||||
|
target_entity_type: oc_organisation
|
@ -0,0 +1,18 @@
|
|||||||
|
uuid: 435acfc6-3c1a-4182-bc8d-8de03599c754
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- business_rules.action.test
|
||||||
|
id: whether_a_follow_up_is_due_on_this_client
|
||||||
|
label: 'Whether a follow-up is due on this client'
|
||||||
|
description: 'True if client substatus is one of "3-month follow-up due", "6-month follow-up due"'
|
||||||
|
settings:
|
||||||
|
field: field_client_substatus
|
||||||
|
data_to_compare: current_data
|
||||||
|
operator: '=='
|
||||||
|
value_to_compare: '25'
|
||||||
|
tags: { }
|
||||||
|
type: data_comparison
|
||||||
|
target_entity_type: oc_organisation
|
||||||
|
target_bundle: client
|
@ -4,6 +4,7 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.oc_organisation.umbrella_client.field_tags
|
- field.field.oc_organisation.umbrella_client.field_tags
|
||||||
|
- field.field.oc_organisation.umbrella_client.field_test
|
||||||
- field.field.oc_organisation.umbrella_client.field_type_of_umbrella_client
|
- field.field.oc_organisation.umbrella_client.field_type_of_umbrella_client
|
||||||
- opencase_entities.oc_organisation_type.umbrella_client
|
- opencase_entities.oc_organisation_type.umbrella_client
|
||||||
module:
|
module:
|
||||||
@ -25,6 +26,16 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
region: content
|
region: content
|
||||||
|
field_test:
|
||||||
|
weight: 63
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
type: entity_reference_autocomplete
|
||||||
|
region: content
|
||||||
field_type_of_umbrella_client:
|
field_type_of_umbrella_client:
|
||||||
weight: -99
|
weight: -99
|
||||||
settings: { }
|
settings: { }
|
||||||
|
@ -4,6 +4,7 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.oc_organisation.umbrella_client.field_tags
|
- field.field.oc_organisation.umbrella_client.field_tags
|
||||||
|
- field.field.oc_organisation.umbrella_client.field_test
|
||||||
- field.field.oc_organisation.umbrella_client.field_type_of_umbrella_client
|
- field.field.oc_organisation.umbrella_client.field_type_of_umbrella_client
|
||||||
- opencase_entities.oc_organisation_type.umbrella_client
|
- opencase_entities.oc_organisation_type.umbrella_client
|
||||||
module:
|
module:
|
||||||
@ -29,6 +30,14 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: entity_reference_label
|
type: entity_reference_label
|
||||||
region: content
|
region: content
|
||||||
|
field_test:
|
||||||
|
weight: 62
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
type: entity_reference_label
|
||||||
|
region: content
|
||||||
field_type_of_umbrella_client:
|
field_type_of_umbrella_client:
|
||||||
weight: 4
|
weight: 4
|
||||||
label: above
|
label: above
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
uuid: ece7aa0b-b142-4be3-8947-49fbf2efd0c7
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_organisation.field_test
|
||||||
|
- opencase_entities.oc_organisation_type.umbrella_client
|
||||||
|
id: oc_organisation.umbrella_client.field_test
|
||||||
|
field_name: field_test
|
||||||
|
entity_type: oc_organisation
|
||||||
|
bundle: umbrella_client
|
||||||
|
label: test
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:taxonomy_term'
|
||||||
|
handler_settings: { }
|
||||||
|
field_type: entity_reference
|
20
config/field.storage.oc_organisation.field_test.yml
Normal file
20
config/field.storage.oc_organisation.field_test.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
uuid: 60fe4fa2-1a5b-41f4-aa5b-4bef0b17b465
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
- taxonomy
|
||||||
|
id: oc_organisation.field_test
|
||||||
|
field_name: field_test
|
||||||
|
entity_type: oc_organisation
|
||||||
|
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
|
Reference in New Issue
Block a user