Code & config for logged-in trainer being automatically added to debrief.

This commit is contained in:
naomi 2022-01-21 15:04:25 +00:00
parent 673aa6bd8d
commit 448ea4bd62
11 changed files with 292 additions and 342 deletions

66
composer.lock generated
View File

@ -68,7 +68,7 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "ssh://git@git.autonomic.zone:2222/autonomic-cooperative/goodnightout_opencase.git", "url": "ssh://git@git.autonomic.zone:2222/autonomic-cooperative/goodnightout_opencase.git",
"reference": "e51d8772ef4edd5c5bb70148d1e929306e25ac0c" "reference": "ce2b7044f53846cf09ef880b0499e8b86c5c11d1"
}, },
"require": { "require": {
"drupal/admin_toolbar": "*", "drupal/admin_toolbar": "*",
@ -86,7 +86,7 @@
"email": "helo@autonomic.zone" "email": "helo@autonomic.zone"
} }
], ],
"time": "2022-01-19T10:25:36+00:00" "time": "2022-01-21T15:01:10+00:00"
}, },
{ {
"name": "autonomic/opencase", "name": "autonomic/opencase",
@ -94,7 +94,7 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "ssh://git@git.autonomic.zone:2222/autonomic-cooperative/opencase.git", "url": "ssh://git@git.autonomic.zone:2222/autonomic-cooperative/opencase.git",
"reference": "40435a16be02628589bf2636b8e2d7d33fbaa020" "reference": "cc551b085103edf895673f6cc08d0a55152d303c"
}, },
"require": { "require": {
"composer/installers": "*", "composer/installers": "*",
@ -111,7 +111,7 @@
"email": "helo@autonomic.zone" "email": "helo@autonomic.zone"
} }
], ],
"time": "2022-01-20T15:59:39+00:00" "time": "2022-01-21T15:00:26+00:00"
}, },
{ {
"name": "bjeavons/zxcvbn-php", "name": "bjeavons/zxcvbn-php",
@ -3026,17 +3026,17 @@
}, },
{ {
"name": "drupal/facets", "name": "drupal/facets",
"version": "2.0.0", "version": "2.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://git.drupalcode.org/project/facets.git", "url": "https://git.drupalcode.org/project/facets.git",
"reference": "2.0.0" "reference": "2.0.1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://ftp.drupal.org/files/projects/facets-2.0.0.zip", "url": "https://ftp.drupal.org/files/projects/facets-2.0.1.zip",
"reference": "2.0.0", "reference": "2.0.1",
"shasum": "d7f1f0a494757a174a819d779bcf13a3abbc60bb" "shasum": "ec6e9de9dd1726b6ca173abd79a69d2574db3e89"
}, },
"require": { "require": {
"drupal/core": "^9.2 || ^10.0" "drupal/core": "^9.2 || ^10.0"
@ -3050,8 +3050,8 @@
"type": "drupal-module", "type": "drupal-module",
"extra": { "extra": {
"drupal": { "drupal": {
"version": "2.0.0", "version": "2.0.1",
"datestamp": "1639140521", "datestamp": "1642699685",
"security-coverage": { "security-coverage": {
"status": "covered", "status": "covered",
"message": "Covered by Drupal's security advisory policy" "message": "Covered by Drupal's security advisory policy"
@ -3883,17 +3883,17 @@
}, },
{ {
"name": "drupal/search_api", "name": "drupal/search_api",
"version": "1.22.0", "version": "1.23.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://git.drupalcode.org/project/search_api.git", "url": "https://git.drupalcode.org/project/search_api.git",
"reference": "8.x-1.22" "reference": "8.x-1.23"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://ftp.drupal.org/files/projects/search_api-8.x-1.22.zip", "url": "https://ftp.drupal.org/files/projects/search_api-8.x-1.23.zip",
"reference": "8.x-1.22", "reference": "8.x-1.23",
"shasum": "bac5923161436830eecdf115ef0333b3b931657e" "shasum": "7de5425bba5b8daa37e98d47b677459dfb1abbe7"
}, },
"require": { "require": {
"drupal/core": "^8.8 || ^9" "drupal/core": "^8.8 || ^9"
@ -3914,8 +3914,8 @@
"type": "drupal-module", "type": "drupal-module",
"extra": { "extra": {
"drupal": { "drupal": {
"version": "8.x-1.22", "version": "8.x-1.23",
"datestamp": "1641998566", "datestamp": "1642769872",
"security-coverage": { "security-coverage": {
"status": "covered", "status": "covered",
"message": "Covered by Drupal's security advisory policy" "message": "Covered by Drupal's security advisory policy"
@ -3955,7 +3955,7 @@
}, },
{ {
"name": "drupal/search_api_db", "name": "drupal/search_api_db",
"version": "1.22.0", "version": "1.23.0",
"require": { "require": {
"drupal/core": "^8.8 || ^9", "drupal/core": "^8.8 || ^9",
"drupal/search_api": "*" "drupal/search_api": "*"
@ -3963,8 +3963,8 @@
"type": "metapackage", "type": "metapackage",
"extra": { "extra": {
"drupal": { "drupal": {
"version": "8.x-1.22", "version": "8.x-1.23",
"datestamp": "1641998566", "datestamp": "1642769872",
"security-coverage": { "security-coverage": {
"status": "covered", "status": "covered",
"message": "Covered by Drupal's security advisory policy" "message": "Covered by Drupal's security advisory policy"
@ -4447,16 +4447,16 @@
}, },
{ {
"name": "drush/drush", "name": "drush/drush",
"version": "11.0.2", "version": "11.0.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/drush-ops/drush.git", "url": "https://github.com/drush-ops/drush.git",
"reference": "3c93b6393d6a463cb1df314dae3db27fbb640cd4" "reference": "d5c63f337f52b059cbe9d39fca2f3090980450dd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/drush-ops/drush/zipball/3c93b6393d6a463cb1df314dae3db27fbb640cd4", "url": "https://api.github.com/repos/drush-ops/drush/zipball/d5c63f337f52b059cbe9d39fca2f3090980450dd",
"reference": "3c93b6393d6a463cb1df314dae3db27fbb640cd4", "reference": "d5c63f337f52b059cbe9d39fca2f3090980450dd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4582,7 +4582,7 @@
"irc": "irc://irc.freenode.org/drush", "irc": "irc://irc.freenode.org/drush",
"issues": "https://github.com/drush-ops/drush/issues", "issues": "https://github.com/drush-ops/drush/issues",
"slack": "https://drupal.slack.com/messages/C62H9CWQM", "slack": "https://drupal.slack.com/messages/C62H9CWQM",
"source": "https://github.com/drush-ops/drush/tree/11.0.2" "source": "https://github.com/drush-ops/drush/tree/11.0.3"
}, },
"funding": [ "funding": [
{ {
@ -4590,7 +4590,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2022-01-19T13:42:06+00:00" "time": "2022-01-21T12:52:10+00:00"
}, },
{ {
"name": "egulias/email-validator", "name": "egulias/email-validator",
@ -10591,16 +10591,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "9.5.11", "version": "9.5.12",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "2406855036db1102126125537adb1406f7242fdd" "reference": "93d4bf4c37aec6384bb9e5d390d9049a463a7256"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2406855036db1102126125537adb1406f7242fdd", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/93d4bf4c37aec6384bb9e5d390d9049a463a7256",
"reference": "2406855036db1102126125537adb1406f7242fdd", "reference": "93d4bf4c37aec6384bb9e5d390d9049a463a7256",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -10678,7 +10678,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.11" "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.12"
}, },
"funding": [ "funding": [
{ {
@ -10690,7 +10690,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2021-12-25T07:07:57+00:00" "time": "2022-01-21T05:54:47+00:00"
}, },
{ {
"name": "sebastian/cli-parser", "name": "sebastian/cli-parser",

View File

@ -7,7 +7,6 @@ dependencies:
- field.field.oc_activity.trainer_debrief.field_issues_with_group_dynamics - field.field.oc_activity.trainer_debrief.field_issues_with_group_dynamics
- field.field.oc_activity.trainer_debrief.field_number_of_participants - field.field.oc_activity.trainer_debrief.field_number_of_participants
- field.field.oc_activity.trainer_debrief.field_photo - field.field.oc_activity.trainer_debrief.field_photo
- field.field.oc_activity.trainer_debrief.field_trainer
- field.field.oc_activity.trainer_debrief.field_what_came_up_for_the_group - field.field.oc_activity.trainer_debrief.field_what_came_up_for_the_group
- field.field.oc_activity.trainer_debrief.field_what_could_be_improved_for - field.field.oc_activity.trainer_debrief.field_what_could_be_improved_for
- field.field.oc_activity.trainer_debrief.field_what_did_facilitators_do_w - field.field.oc_activity.trainer_debrief.field_what_did_facilitators_do_w
@ -22,78 +21,78 @@ bundle: trainer_debrief
mode: default mode: default
content: content:
field_issues_and_difficulties: field_issues_and_difficulties:
weight: 3
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea type: string_textarea
region: content
field_issues_with_group_dynamics:
weight: 4 weight: 4
region: content
settings: settings:
rows: 5 rows: 5
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
field_issues_with_group_dynamics:
type: string_textarea type: string_textarea
weight: 5
region: content region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_number_of_participants: field_number_of_participants:
weight: 0 type: number
weight: 1
region: content
settings: settings:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
type: number
region: content
field_photo: field_photo:
weight: 7 type: image_image
weight: 8
region: content
settings: settings:
progress_indicator: throbber progress_indicator: throbber
preview_image_style: thumbnail preview_image_style: thumbnail
third_party_settings: { } third_party_settings: { }
type: image_image field_what_came_up_for_the_group:
type: string_textarea
weight: 3
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_what_could_be_improved_for:
type: string_textarea
weight: 7
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_what_did_facilitators_do_w:
type: string_textarea
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_what_real_scenarios_or_inc:
type: string_textarea
weight: 6
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
oc_provider:
type: entity_reference_autocomplete
weight: 0
region: content region: content
field_trainer:
weight: 8
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
match_limit: 10 match_limit: 10
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_what_came_up_for_the_group:
weight: 2
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
field_what_could_be_improved_for:
weight: 6
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
field_what_did_facilitators_do_w:
weight: 1
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
field_what_real_scenarios_or_inc:
weight: 5
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 9 weight: 9
@ -103,5 +102,6 @@ content:
third_party_settings: { } third_party_settings: { }
hidden: hidden:
activity_date_time: true activity_date_time: true
client: true
name: true name: true
time_taken: true time_taken: true

View File

@ -34,52 +34,52 @@ content:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
field_date_of_training: field_date_of_training:
type: datetime_default
weight: 4 weight: 4
region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: datetime_default
region: content
field_project: field_project:
type: entity_reference_autocomplete
weight: 1 weight: 1
region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
match_limit: 10 match_limit: 10
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_social_media: field_social_media:
type: boolean_checkbox
weight: 7 weight: 7
region: content
settings: settings:
display_label: true display_label: true
third_party_settings: { } third_party_settings: { }
type: boolean_checkbox
region: content
field_training_delivery_format: field_training_delivery_format:
type: options_select
weight: 5 weight: 5
region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: options_select
region: content
field_training_status: field_training_status:
type: options_select
weight: 3 weight: 3
region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: options_select
region: content
field_training_type: field_training_type:
type: options_select
weight: 2 weight: 2
region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: options_select
region: content
files: files:
type: file_generic type: file_generic
weight: 6 weight: 6
region: content
settings: settings:
progress_indicator: throbber progress_indicator: throbber
region: content
third_party_settings: { } third_party_settings: { }
notes: notes:
type: string_textarea type: string_textarea

View File

@ -7,7 +7,6 @@ dependencies:
- field.field.oc_activity.trainer_debrief.field_issues_with_group_dynamics - field.field.oc_activity.trainer_debrief.field_issues_with_group_dynamics
- field.field.oc_activity.trainer_debrief.field_number_of_participants - field.field.oc_activity.trainer_debrief.field_number_of_participants
- field.field.oc_activity.trainer_debrief.field_photo - field.field.oc_activity.trainer_debrief.field_photo
- field.field.oc_activity.trainer_debrief.field_trainer
- field.field.oc_activity.trainer_debrief.field_what_came_up_for_the_group - field.field.oc_activity.trainer_debrief.field_what_came_up_for_the_group
- field.field.oc_activity.trainer_debrief.field_what_could_be_improved_for - field.field.oc_activity.trainer_debrief.field_what_could_be_improved_for
- field.field.oc_activity.trainer_debrief.field_what_did_facilitators_do_w - field.field.oc_activity.trainer_debrief.field_what_did_facilitators_do_w
@ -22,82 +21,83 @@ bundle: trainer_debrief
mode: default mode: default
content: content:
field_issues_and_difficulties: field_issues_and_difficulties:
weight: 4 type: basic_string
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: basic_string weight: 4
region: content region: content
field_issues_with_group_dynamics: field_issues_with_group_dynamics:
weight: 5 type: basic_string
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: basic_string weight: 5
region: content region: content
field_number_of_participants: field_number_of_participants:
weight: 1 type: number_integer
label: above label: above
settings: settings:
thousand_separator: '' thousand_separator: ''
prefix_suffix: true prefix_suffix: true
third_party_settings: { } third_party_settings: { }
type: number_integer weight: 1
region: content region: content
field_photo: field_photo:
weight: 8
label: above
settings:
image_style: ''
image_link: ''
third_party_settings: { }
type: image type: image
region: content
field_trainer:
weight: 9
label: above label: above
settings: settings:
link: true image_link: ''
image_style: ''
third_party_settings: { } third_party_settings: { }
type: entity_reference_label weight: 8
region: content region: content
field_what_came_up_for_the_group: field_what_came_up_for_the_group:
weight: 3 type: basic_string
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: basic_string weight: 3
region: content region: content
field_what_could_be_improved_for: field_what_could_be_improved_for:
weight: 7 type: basic_string
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: basic_string weight: 7
region: content region: content
field_what_did_facilitators_do_w: field_what_did_facilitators_do_w:
weight: 2 type: basic_string
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: basic_string weight: 2
region: content region: content
field_what_real_scenarios_or_inc: field_what_real_scenarios_or_inc:
weight: 6 type: basic_string
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: basic_string weight: 6
region: content region: content
name: name:
label: hidden
type: string type: string
weight: 0 label: hidden
region: content
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: 0
region: content
user_id:
type: author
label: above
settings: { }
third_party_settings: { }
weight: 10
region: content
hidden: hidden:
activity_date_time: true activity_date_time: true
client: true
oc_provider: true
search_api_excerpt: true search_api_excerpt: true
time_taken: true time_taken: true

View File

@ -43,6 +43,11 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 0 weight: 0
region: content region: content
debrief:
settings: { }
third_party_settings: { }
weight: 10
region: content
debriefs: debriefs:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }

View File

@ -1,20 +1,18 @@
uuid: 04731977-d193-4dc9-9e24-5f17a8ff5ac2 uuid: 72f123c9-f0ab-4c83-b87a-f8e02c7d92fc
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
config: config:
- field.storage.oc_activity.field_trainer
- opencase_entities.oc_activity_type.trainer_debrief - opencase_entities.oc_activity_type.trainer_debrief
- user.role.authenticated - user.role.authenticated
module: module:
- datetime
- opencase_cases - opencase_cases
- opencase_entities - opencase_entities
- user - user
id: oc_case.training.debriefs id: oc_case.training.debrief
label: Debrief label: Debrief
display_label: true display_label: true
name: debriefs name: debrief
description: '' description: ''
base_entity_type_id: oc_case base_entity_type_id: oc_case
base_bundle_type_id: training base_bundle_type_id: training

View File

@ -1,28 +0,0 @@
uuid: e52c7893-2f84-4b78-b2b8-8313bd936852
langcode: en
status: true
dependencies:
config:
- field.storage.oc_activity.field_trainer
- opencase_entities.oc_activity_type.trainer_debrief
- opencase_entities.oc_actor_type.trainer
id: oc_activity.trainer_debrief.field_trainer
field_name: field_trainer
entity_type: oc_activity
bundle: trainer_debrief
label: Trainer
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:oc_actor'
handler_settings:
target_bundles:
trainer: trainer
sort:
field: _none
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@ -1,23 +0,0 @@
uuid: c2c14026-cbe7-490e-8504-f560773d7f81
langcode: en
status: true
dependencies:
module:
- field_permissions
- opencase_entities
third_party_settings:
field_permissions:
permission_type: public
id: oc_activity.field_trainer
field_name: field_trainer
entity_type: oc_activity
type: entity_reference
settings:
target_type: oc_actor
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -3,7 +3,6 @@ langcode: en
status: true status: true
dependencies: dependencies:
config: config:
- field.storage.oc_activity.field_trainer
- opencase_entities.oc_activity_type.trainer_debrief - opencase_entities.oc_activity_type.trainer_debrief
- system.menu.opencase - system.menu.opencase
- user.role.gno_admin_user - user.role.gno_admin_user
@ -19,59 +18,12 @@ base_table: oc_activity_field_data
base_field: id base_field: id
display: display:
default: default:
display_plugin: default
id: default id: default
display_title: Master display_title: Master
display_plugin: default
position: 0 position: 0
display_options: display_options:
access: title: 'Debrief Report'
type: role
options:
role:
gno_admin_user: gno_admin_user
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: true
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: 50
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: table
row:
type: fields
fields: fields:
created: created:
id: created id: created
@ -80,6 +32,9 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
entity_type: oc_activity
entity_field: created
plugin_id: field
label: 'Date submitted' label: 'Date submitted'
exclude: false exclude: false
alter: alter:
@ -137,72 +92,6 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
entity_type: oc_activity
entity_field: created
plugin_id: field
field_trainer:
id: field_trainer
table: oc_activity__field_trainer
field: field_trainer
relationship: none
group_type: group
admin_label: ''
label: Trainer
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: 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_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
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
plugin_id: field
oc_case: oc_case:
id: oc_case id: oc_case
table: oc_activity_field_data table: oc_activity_field_data
@ -210,6 +99,9 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
entity_type: oc_activity
entity_field: oc_case
plugin_id: field
label: Training label: Training
exclude: false exclude: false
alter: alter:
@ -265,19 +157,131 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
oc_provider:
id: oc_provider
table: oc_activity_field_data
field: oc_provider
relationship: none
group_type: group
admin_label: ''
entity_type: oc_activity entity_type: oc_activity
entity_field: oc_case entity_field: oc_provider
plugin_id: field plugin_id: field
label: Trainer
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: 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_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
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
pager:
type: mini
options:
offset: 0
items_per_page: 50
total_pages: null
id: 0
tags:
next:
previous:
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
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: true
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: role
options:
role:
gno_admin_user: gno_admin_user
cache:
type: tag
options: { }
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
plugin_id: text_custom
empty: true
content: 'None found'
tokenize: false
sorts: { }
arguments: { }
filters: filters:
type: type:
id: type id: type
table: oc_activity_field_data table: oc_activity_field_data
field: type field: type
value:
trainer_debrief: trainer_debrief
entity_type: oc_activity entity_type: oc_activity
entity_field: type entity_field: type
plugin_id: bundle plugin_id: bundle
value:
trainer_debrief: trainer_debrief
expose: expose:
operator_limit_selection: false operator_limit_selection: false
operator_list: { } operator_list: { }
@ -288,6 +292,9 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
entity_type: oc_activity
entity_field: created
plugin_id: date
operator: between operator: between
value: value:
min: '' min: ''
@ -315,9 +322,9 @@ display:
gno_admin_user: '0' gno_admin_user: '0'
follow_up_alerts: '0' follow_up_alerts: '0'
newly_accredited_alerts: '0' newly_accredited_alerts: '0'
placeholder: ''
min_placeholder: '' min_placeholder: ''
max_placeholder: '' max_placeholder: ''
placeholder: ''
is_grouped: false is_grouped: false
group_info: group_info:
label: '' label: ''
@ -330,27 +337,21 @@ display:
default_group: All default_group: All
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
entity_type: oc_activity style:
entity_field: created type: table
plugin_id: date row:
sorts: { } type: fields
title: 'Debrief Report' query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { } header: { }
footer: { } footer: { }
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content: 'None found'
plugin_id: text_custom
relationships: { }
arguments: { }
display_extenders: { } display_extenders: { }
cache_metadata: cache_metadata:
max-age: -1 max-age: -1
@ -360,26 +361,25 @@ display:
- url - url
- url.query_args - url.query_args
- user.roles - user.roles
tags: tags: { }
- 'config:field.storage.oc_activity.field_trainer'
page_1: page_1:
display_plugin: page
id: page_1 id: page_1
display_title: Page display_title: Page
display_plugin: page
position: 1 position: 1
display_options: display_options:
exposed_block: true
display_extenders: { } display_extenders: { }
path: debrief-report path: debrief-report
menu: menu:
type: normal type: normal
title: 'Debrief Report' title: 'Debrief Report'
description: '' description: ''
expanded: false
parent: opencase.reporting
weight: 0 weight: 0
context: '0' expanded: false
menu_name: opencase menu_name: opencase
exposed_block: true parent: opencase.reporting
context: '0'
cache_metadata: cache_metadata:
max-age: -1 max-age: -1
contexts: contexts:
@ -388,5 +388,4 @@ display:
- url - url
- url.query_args - url.query_args
- user.roles - user.roles
tags: tags: { }
- 'config:field.storage.oc_activity.field_trainer'

View File

@ -3,7 +3,6 @@ langcode: en
status: true status: true
dependencies: dependencies:
config: config:
- field.storage.oc_activity.field_trainer
- opencase_entities.oc_activity_type.trainer_debrief - opencase_entities.oc_activity_type.trainer_debrief
- user.role.authenticated - user.role.authenticated
module: module:
@ -28,13 +27,15 @@ display:
display_options: display_options:
title: Debrief title: Debrief
fields: fields:
field_trainer: oc_provider:
id: field_trainer id: oc_provider
table: oc_activity__field_trainer table: oc_activity_field_data
field: field_trainer field: oc_provider
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
entity_type: oc_activity
entity_field: oc_provider
plugin_id: field plugin_id: field
label: Trainer label: Trainer
exclude: false exclude: false
@ -80,7 +81,7 @@ display:
click_sort_column: target_id click_sort_column: target_id
type: entity_reference_label type: entity_reference_label
settings: settings:
link: false link: true
group_column: target_id group_column: target_id
group_columns: { } group_columns: { }
group_rows: true group_rows: true
@ -540,8 +541,7 @@ display:
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- user.roles - user.roles
tags: tags: { }
- 'config:field.storage.oc_activity.field_trainer'
block_1: block_1:
id: block_1 id: block_1
display_title: Block display_title: Block
@ -557,5 +557,4 @@ display:
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- user.roles - user.roles
tags: tags: { }
- 'config:field.storage.oc_activity.field_trainer'

View File

@ -1110,15 +1110,15 @@ display:
options: options:
offset: 0 offset: 0
sorts: sorts:
client: name:
id: client id: name
table: oc_case_field_data table: oc_case_field_data
field: client field: name
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
entity_type: oc_case entity_type: oc_case
entity_field: client entity_field: name
plugin_id: standard plugin_id: standard
order: ASC order: ASC
expose: expose: