Removed business rules module and updated config.

This commit is contained in:
Naomi 2021-09-08 19:39:32 +02:00
parent 4158b1a302
commit bae06e0956
19 changed files with 61 additions and 633 deletions

View File

@ -26,7 +26,6 @@
"autonomic/goodnightout_opencase": "dev-master", "autonomic/goodnightout_opencase": "dev-master",
"autonomic/opencase": "dev-master", "autonomic/opencase": "dev-master",
"composer/installers": "^1.2", "composer/installers": "^1.2",
"drupal/business_rules": "^2.0@beta",
"drupal/core-composer-scaffold": "^8.9.17", "drupal/core-composer-scaffold": "^8.9.17",
"drupal/core-project-message": "^8.9.17", "drupal/core-project-message": "^8.9.17",
"drupal/core-recommended": "^8.9.17", "drupal/core-recommended": "^8.9.17",

117
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "858fa60a701d4684082dacf718470955", "content-hash": "d0070e8fa10b3ded0c8e176c517745ee",
"packages": [ "packages": [
{ {
"name": "asm89/stack-cors", "name": "asm89/stack-cors",
@ -1716,72 +1716,6 @@
"issues": "https://www.drupal.org/project/issues/admin_toolbar" "issues": "https://www.drupal.org/project/issues/admin_toolbar"
} }
}, },
{
"name": "drupal/business_rules",
"version": "2.0.0-beta1",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/business_rules.git",
"reference": "2.0.0-beta1"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/business_rules-2.0.0-beta1.zip",
"reference": "2.0.0-beta1",
"shasum": "3e50c68364a0e780117ab55f7cff064b5526afe3"
},
"require": {
"drupal/core": "^8 || ^9",
"drupal/dbug": "*"
},
"require-dev": {
"drupal/group": "*",
"drupal/paragraphs": "*",
"drupal/sms": "*"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "2.0.0-beta1",
"datestamp": "1615910333",
"security-coverage": {
"status": "not-covered",
"message": "Beta releases are not covered by Drupal security advisories."
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "C.E.A",
"homepage": "https://www.drupal.org/user/3189629"
},
{
"name": "colan",
"homepage": "https://www.drupal.org/user/58704"
},
{
"name": "pratik_kamble",
"homepage": "https://www.drupal.org/user/3204909"
},
{
"name": "rohit-rajput-sahab",
"homepage": "https://www.drupal.org/user/2036406"
},
{
"name": "yuriseki",
"homepage": "https://www.drupal.org/user/1523064"
}
],
"description": "Business Rules",
"homepage": "https://www.drupal.org/project/business_rules",
"support": {
"source": "https://git.drupalcode.org/project/business_rules"
}
},
{ {
"name": "drupal/core", "name": "drupal/core",
"version": "8.9.18", "version": "8.9.18",
@ -2273,54 +2207,6 @@
"issues": "https://www.drupal.org/project/issues/ctools" "issues": "https://www.drupal.org/project/issues/ctools"
} }
}, },
{
"name": "drupal/dbug",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/dbug.git",
"reference": "2.0.0"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/dbug-2.0.0.zip",
"reference": "2.0.0",
"shasum": "25dc98f97228da9852a08b7af876373b0e8e382d"
},
"require": {
"drupal/core": "^8 || ^9"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "2.0.0",
"datestamp": "1613864836",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "colan",
"homepage": "https://www.drupal.org/user/58704"
},
{
"name": "yuriseki",
"homepage": "https://www.drupal.org/user/1523064"
}
],
"description": "Drupal version of ColdFusion's cfdump",
"homepage": "https://www.drupal.org/project/dbug",
"support": {
"source": "https://git.drupalcode.org/project/dbug"
}
},
{ {
"name": "drupal/devel", "name": "drupal/devel",
"version": "4.1.1", "version": "4.1.1",
@ -7827,7 +7713,6 @@
"stability-flags": { "stability-flags": {
"autonomic/goodnightout_opencase": 20, "autonomic/goodnightout_opencase": 20,
"autonomic/opencase": 20, "autonomic/opencase": 20,
"drupal/business_rules": 10,
"drupal/entity_extra_field": 15, "drupal/entity_extra_field": 15,
"drupal/password_strength": 10, "drupal/password_strength": 10,
"drupal/typed_data": 15, "drupal/typed_data": 15,

View File

@ -1,20 +0,0 @@
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

View File

@ -1,13 +0,0 @@
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

View File

@ -1,18 +0,0 @@
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

View File

@ -1,6 +0,0 @@
debug_screen: false
clear_render_cache: false
enable_scheduler: true
enable_safemode: true
_core:
default_config_hash: Io7BnIgfxte7j-gj-JicEmXV41lbJ9bvb3Ju5Gf_7xg

View File

@ -1,16 +0,0 @@
uuid: a1fb2a4e-278f-4847-9a83-70e7e10fd119
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: cSkaP0uPcx0bJ1wwKC1jNSV7EiVGyapyOvADWm1f3M4
id: current_user
label: 'Current user'
description: 'Represents the current logged user.'
settings:
current_or_defined: current
tags:
defaults: defaults
type: user_variable
target_entity_type: user
target_bundle: user

View File

@ -1,15 +0,0 @@
uuid: 20bd8fe5-c979-4b93-b0a5-807fbdab9470
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: iVlh9mKnn2q0c_OLD4pJW6v3yRALaRtPs7ZT5mW8aJY
id: url_variable
label: 'Url variable'
description: 'Represents the current URL'
settings: { }
tags:
defaults: defaults
type: url_variable
target_entity_type: null
target_bundle: null

View File

@ -4,7 +4,6 @@ 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:
@ -26,16 +25,6 @@ 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: { }

View File

@ -4,7 +4,6 @@ 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:
@ -30,14 +29,6 @@ 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

View File

@ -0,0 +1,31 @@
uuid: 31dc8d53-4c68-4ee4-a7a6-4964915664f9
langcode: en
status: true
dependencies:
config:
- field.field.taxonomy_term.client_subtypes.field_parent_type
- taxonomy.vocabulary.client_subtypes
module:
- text
id: taxonomy_term.client_subtypes.default
targetEntityType: taxonomy_term
bundle: client_subtypes
mode: default
content:
description:
label: hidden
type: text_default
weight: 0
region: content
settings: { }
third_party_settings: { }
field_parent_type:
type: entity_reference_label
weight: 1
region: content
label: above
settings:
link: true
third_party_settings: { }
hidden:
search_api_excerpt: true

View File

@ -5,7 +5,6 @@ module:
block: 0 block: 0
block_content: 0 block_content: 0
breakpoint: 0 breakpoint: 0
business_rules: 0
ckeditor: 0 ckeditor: 0
color: 0 color: 0
comment: 0 comment: 0

View File

@ -5,23 +5,29 @@ dependencies:
config: config:
- field.storage.oc_organisation.field_client_status - field.storage.oc_organisation.field_client_status
- opencase_entities.oc_organisation_type.client - opencase_entities.oc_organisation_type.client
- taxonomy.vocabulary.client_status
content:
- 'taxonomy_term:client_status:10f0b83c-158e-4d99-9937-8fe3760fd7c9'
id: oc_organisation.client.field_client_status id: oc_organisation.client.field_client_status
field_name: field_client_status field_name: field_client_status
entity_type: oc_organisation entity_type: oc_organisation
bundle: client bundle: client
label: 'Client Status' label: 'Client Status'
description: '' description: ''
required: false required: true
translatable: false translatable: false
default_value: { } default_value:
-
target_uuid: 10f0b83c-158e-4d99-9937-8fe3760fd7c9
default_value_callback: '' default_value_callback: ''
settings: settings:
handler: business_rules_views handler: 'default:taxonomy_term'
handler_settings: handler_settings:
business_rules_view: target_bundles:
view_name: client_subtypes client_status: client_status
display_name: entity_reference_2 sort:
arguments: { } field: name
parent_field: field_client_substatus direction: asc
reference_parent_by_uuid: false auto_create: false
auto_create_bundle: client_status
field_type: entity_reference field_type: entity_reference

View File

@ -14,7 +14,7 @@ entity_type: oc_organisation
bundle: client bundle: client
label: 'Client substatus' label: 'Client substatus'
description: '' description: ''
required: false required: true
translatable: false translatable: false
default_value: default_value:
- -

View File

@ -5,6 +5,7 @@ dependencies:
config: config:
- field.storage.oc_organisation.field_client_subtype - field.storage.oc_organisation.field_client_subtype
- opencase_entities.oc_organisation_type.client - opencase_entities.oc_organisation_type.client
- taxonomy.vocabulary.client_subtypes
_core: _core:
default_config_hash: kHcvcm7U4-99QTGhplkTgQA-uefnl5LN1O_-PH3pODs default_config_hash: kHcvcm7U4-99QTGhplkTgQA-uefnl5LN1O_-PH3pODs
id: oc_organisation.client.field_client_subtype id: oc_organisation.client.field_client_subtype
@ -18,12 +19,13 @@ translatable: false
default_value: { } default_value: { }
default_value_callback: '' default_value_callback: ''
settings: settings:
handler: business_rules_views handler: 'default:taxonomy_term'
handler_settings: handler_settings:
business_rules_view: target_bundles:
view_name: client_subtypes client_subtypes: client_subtypes
display_name: entity_reference_1 sort:
arguments: { } field: name
parent_field: field_client_type direction: asc
reference_parent_by_uuid: false auto_create: false
auto_create_bundle: ''
field_type: entity_reference field_type: entity_reference

View File

@ -1,21 +0,0 @@
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

View File

@ -3,8 +3,12 @@ langcode: en
status: true status: true
dependencies: dependencies:
module: module:
- field_permissions
- opencase_entities - opencase_entities
- taxonomy - taxonomy
third_party_settings:
field_permissions:
permission_type: public
_core: _core:
default_config_hash: uRQcYQeVZWb6wTFpbiKCBH6mjjtC-Yc0O9UmvAtpeyg default_config_hash: uRQcYQeVZWb6wTFpbiKCBH6mjjtC-Yc0O9UmvAtpeyg
id: oc_organisation.field_client_subtype id: oc_organisation.field_client_subtype

View File

@ -1,20 +0,0 @@
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

View File

@ -1,349 +0,0 @@
uuid: 7ac84934-34ca-4c40-b517-15462f2419b9
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.client_status
- taxonomy.vocabulary.client_subtypes
module:
- taxonomy
- user
_core:
default_config_hash: jrGYV3r_4ekGhPxmcRwmuh7-dfG_tQ3GTHAktKo0s-s
id: client_subtypes
label: 'Client subtypes'
module: views
description: ''
tag: ''
base_table: taxonomy_term_field_data
base_field: tid
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
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: mini
options:
items_per_page: 10
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:
next:
style:
type: default
options:
grouping: { }
row_class: ''
default_row_class: true
uses_fields: false
row:
type: fields
options:
inline: { }
separator: ''
hide_empty: false
default_field_elements: true
fields:
name:
id: name
table: taxonomy_term_field_data
field: name
entity_type: taxonomy_term
entity_field: name
label: ''
alter:
alter_text: false
make_link: false
absolute: false
trim: false
word_boundary: false
ellipsis: false
strip_tags: false
html: false
hide_empty: false
empty_zero: false
type: string
settings:
link_to_entity: true
plugin_id: term_name
relationship: none
group_type: group
admin_label: ''
exclude: 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_alter_empty: true
click_sort_column: value
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
convert_spaces: false
filters:
status:
value: '1'
table: taxonomy_term_field_data
field: status
plugin_id: boolean
entity_type: taxonomy_term
entity_field: status
id: status
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
vid:
id: vid
table: taxonomy_term_field_data
field: vid
value:
client_subtypes: client_subtypes
entity_type: taxonomy_term
entity_field: vid
plugin_id: bundle
expose:
operator_limit_selection: false
operator_list: { }
sorts: { }
header: { }
footer: { }
empty: { }
relationships: { }
arguments:
field_parent_type_target_id:
id: field_parent_type_target_id
table: taxonomy_term__field_parent_type
field: field_parent_type_target_id
relationship: none
group_type: group
admin_label: ''
default_action: 'not found'
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
plugin_id: numeric
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.permissions
tags: { }
entity_reference_1:
display_plugin: entity_reference
id: entity_reference_1
display_title: 'Entity Reference'
position: 1
display_options:
display_extenders: { }
style:
type: entity_reference
options:
search_fields:
name: name
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.permissions
tags: { }
entity_reference_2:
display_plugin: entity_reference
id: entity_reference_2
display_title: 'Entity Reference 2'
position: 2
display_options:
display_extenders: { }
filters:
status:
value: '1'
table: taxonomy_term_field_data
field: status
plugin_id: boolean
entity_type: taxonomy_term
entity_field: status
id: status
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
vid:
id: vid
table: taxonomy_term_field_data
field: vid
relationship: none
group_type: group
admin_label: ''
operator: in
value:
client_status: client_status
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
reduce: false
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: taxonomy_term
entity_field: vid
plugin_id: bundle
defaults:
filters: false
filter_groups: false
arguments: false
filter_groups:
operator: AND
groups:
1: AND
style:
type: entity_reference
options:
search_fields:
name: name
arguments:
field_substatuses_target_id:
id: field_substatuses_target_id
table: taxonomy_term__field_substatuses
field: field_substatuses_target_id
relationship: none
group_type: group
admin_label: ''
default_action: 'not found'
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
plugin_id: numeric
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.permissions
tags: { }