Compare commits
	
		
			125 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 0fe7bac594 | |||
| 8d345ce1f3 | |||
| 06b2409c61 | |||
| 99e57d9747 | |||
| 1d257538fe | |||
| 34a2d9e23b | |||
| bc98ecb541 | |||
| 0f0281c58c | |||
| c65012315d | |||
| 715f5f34c4 | |||
| 403965fe6f | |||
| eec5b876a3 | |||
| 077455b4d3 | |||
| 7a995060ce | |||
| 9646e216aa | |||
| 5afbeb956b | |||
| 2895dcdab8 | |||
| 3dd71bf2c0 | |||
| 6fbaf433e8 | |||
| 4639ff7ffd | |||
| 4285e1952f | |||
| eee7604440 | |||
| 0399c83646 | |||
| 2bc1abc7a7 | |||
| 06937b7443 | |||
| 6d281625b7 | |||
| 208240badc | |||
| c479e3b995 | |||
| 517938ab7b | |||
| b48ba012cb | |||
| 53648faff7 | |||
| a993e09bc6 | |||
| 3aa4fbc5cf | |||
| 0caf2cb7c8 | |||
| e49ad3fc9c | |||
| 146eb2b8ba | |||
| 360fe56a6d | |||
| 91cc94d3d7 | |||
| 2b9cd117ba | |||
| 36eb9d9667 | |||
| d026173c8f | |||
| 7ecdfbf3e6 | |||
| 113ff6361b | |||
| ca1a0eda29 | |||
| dfb12d9be6 | |||
| ea71314345 | |||
| 31be127d30 | |||
| 7c5ee54a44 | |||
| 21528a436e | |||
| ffb99bcac6 | |||
| a7f0e8fb02 | |||
| eb405674dc | |||
| 342459daa3 | |||
| cde0bbc7e6 | |||
| aff262a535 | |||
| 0d927126a2 | |||
| 2f485f19c5 | |||
| 8b07bbe63f | |||
| 690ec3b509 | |||
| 7a9b95bf0d | |||
| 675a85dfb6 | |||
| 17f8ddba2e | |||
| 27cb58512e | |||
| df2c826a33 | |||
| 6f33d59842 | |||
| e37a41de2b | |||
| c47df855bc | |||
| af3b4727f1 | |||
| 011029d3b3 | |||
| 9af1d58de8 | |||
| 6d93242fa9 | |||
| c9a843a35f | |||
| c46bbc6ffd | |||
| 5d1844304a | |||
| be45fd2d42 | |||
| 18a0846348 | |||
| 18e32335f5 | |||
| b83f0b44b4 | |||
| 7f88d409f0 | |||
| 8841fd4d25 | |||
| 87241c1f87 | |||
| 2a1607c6d9 | |||
| d8fd12a7b9 | |||
| e4a04a254d | |||
| 88b5ce3d2e | |||
| ae3976c7b8 | |||
| f47ded38fa | |||
| c63cae6b71 | |||
| a7a96ab03c | |||
| a6db6615df | |||
| 1c3370a784 | |||
| 59f4987371 | |||
| c1e24593fa | |||
| c98f028045 | |||
| 873f751795 | |||
| 6b9ff3a5e7 | |||
| b24ba377d2 | |||
| 33168ecb62 | |||
| 3eacbc952f | |||
| 47ea8493ce | |||
| eb6cfb89dd | |||
| 94e2635ee1 | |||
| fa7516b03a | |||
| bfa4f27cf7 | |||
| 36aff5564e | |||
| e0260256fa | |||
| fd47bee26a | |||
| 150cc6cfd1 | |||
| 44c948d22a | |||
| 99733415c8 | |||
| 5e127358b2 | |||
| 9a937e2d46 | |||
| e45cbb6a76 | |||
| ca04c3e259 | |||
| 658ba667b1 | |||
| 309a31e012 | |||
| 8ccd0313a7 | |||
| ab2662195b | |||
| b81d6b5f31 | |||
| ad6811b5e9 | |||
| da0c0ff1b5 | |||
| 3e6011a359 | |||
| 7e28f88b86 | |||
| 0efab1af06 | |||
| 4b14537dc4 | 
							
								
								
									
										43
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										43
									
								
								README.md
									
									
									
									
									
								
							@ -1,33 +1,36 @@
 | 
			
		||||
# OpenCase
 | 
			
		||||
A simple, case-management-focused CRM for small altruistic organisations.
 | 
			
		||||
 | 
			
		||||
## Current Status
 | 
			
		||||
**24 July 2018** A demo site, with basic functionality is available at demo.opencase.org.uk. If you are interested, raise an issue and I will get the login to you somehow. 
 | 
			
		||||
A simple case-management system
 | 
			
		||||
 | 
			
		||||
## The Plan
 | 
			
		||||
OpenCase will be available as:
 | 
			
		||||
* A Drupal module, on drupal.org 
 | 
			
		||||
* A Drupal install profile / distribution
 | 
			
		||||
* A hosted service
 | 
			
		||||
 | 
			
		||||
### Features
 | 
			
		||||
#### Existing
 | 
			
		||||
* Completely configurable person types, case types and activity types
 | 
			
		||||
* Search
 | 
			
		||||
* Basic Reporting 
 | 
			
		||||
* Basic user roles (caseworker, volunteer co-ordinator, site admin etc) with access control
 | 
			
		||||
 | 
			
		||||
#### Coming soon
 | 
			
		||||
* Better reporting (currently only reports on defaults fields and not user-added ones)
 | 
			
		||||
* Allocation of tasks, overview of tasks and their stage of completion
 | 
			
		||||
* Appointments and notifications
 | 
			
		||||
 | 
			
		||||
## Current Status
 | 
			
		||||
**11 Nov 2018** 
 | 
			
		||||
### User Base
 | 
			
		||||
OpenCase is being used by a couple of organisations, early adopters on the hosted platform.
 | 
			
		||||
### Availability as Free Software
 | 
			
		||||
If you want to install OpenCase for yourself, please get in touch via Issues. It is changing rapidly and the install process is currently undocumented but I am more than happy to guide you through.
 | 
			
		||||
### Try it out
 | 
			
		||||
A demo site, with basic functionality is available at demo.opencase.org.uk. If you are interested, raise an issue and I will get the login to you somehow. 
 | 
			
		||||
 | 
			
		||||
## Find out more
 | 
			
		||||
* More details, including user stories for future development, can be found in the [OpenCase Gitbook](https://hoegrammer.gitbooks.io/zen-crm/content/)
 | 
			
		||||
* More details, including user stories for future development, can be found in the [OpenCase Gitbook](https://hoegrammer.gitbooks.io/opencase/content/)
 | 
			
		||||
* Raise an issue to contact the developer. 
 | 
			
		||||
 | 
			
		||||
## Differences between current version (v0.2.6, July 2018) and previous version ##
 | 
			
		||||
 | 
			
		||||
**Access control**: Previously everyone could see all cases. Now, users can see cases that they are involved in. By creating case you automatically become involve in it (although you can later be removed or remove yourself). Caseworkers can see all clients and volunteer co-ordinators can see all volunteers. Site admins and overseers can see everything.
 | 
			
		||||
 | 
			
		||||
**Editing types**: As a site admin you can now add, remove and configure types of actor, types of case and types of activity and you can configure fields on these and add your own fields.s
 | 
			
		||||
 | 
			
		||||
**Relations between types**: For each type of case, you can specify what types of actors (people) can be involved in it, e.g. for a volunteer recruitment case it would be volunteers and/or staff; for a legal advice case maybe clients, volunteers and solicitors. You can also specify what activities belong on what kinds of cases.
 | 
			
		||||
 | 
			
		||||
## Not done yet ##
 | 
			
		||||
 | 
			
		||||
* Reporting
 | 
			
		||||
* Donations
 | 
			
		||||
* Anything to do with emails/bounces
 | 
			
		||||
* Any specific guidelines or features relating to the GDPR
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								ciac_opencase_customisations.libraries.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								ciac_opencase_customisations.libraries.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,5 @@
 | 
			
		||||
ciac_grouped_views:
 | 
			
		||||
  version: 1.x
 | 
			
		||||
  css:
 | 
			
		||||
    layout:
 | 
			
		||||
      css/grouped_views.css: {}
 | 
			
		||||
@ -1,14 +1,16 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "drupal/opencase",
 | 
			
		||||
  "type": "drupal-module",
 | 
			
		||||
  "description": "Simple Case Management",
 | 
			
		||||
  "keywords": ["Drupal"],
 | 
			
		||||
  "license": "GPL-2.0+",
 | 
			
		||||
  "homepage": "https://www.drupal.org/project/opencase",
 | 
			
		||||
  "minimum-stability": "dev",
 | 
			
		||||
  "support": {
 | 
			
		||||
    "issues": "https://www.drupal.org/project/issues/opencase",
 | 
			
		||||
    "source": "http://cgit.drupalcode.org/opencase"
 | 
			
		||||
  },
 | 
			
		||||
  "require": { }
 | 
			
		||||
    "name": "autonomic/opencase",
 | 
			
		||||
    "type": "drupal-module",
 | 
			
		||||
    "authors": [
 | 
			
		||||
        {
 | 
			
		||||
            "name": "autonomic",
 | 
			
		||||
            "email": "helo@autonomic.zone"
 | 
			
		||||
        }
 | 
			
		||||
    ],
 | 
			
		||||
    "require": {
 | 
			
		||||
        "composer/installers": "*",
 | 
			
		||||
        "drupal/superfish": "*",
 | 
			
		||||
        "drupal/smtp": "*",
 | 
			
		||||
        "drupal/paragraphs_collapsible": "*"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -2,22 +2,68 @@ langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - system.menu.opencase-admin
 | 
			
		||||
    - system.menu.opencase
 | 
			
		||||
  module:
 | 
			
		||||
    - system
 | 
			
		||||
    - superfish
 | 
			
		||||
  theme:
 | 
			
		||||
    - bartik
 | 
			
		||||
id: opencase
 | 
			
		||||
theme: bartik
 | 
			
		||||
region: sidebar_first
 | 
			
		||||
weight: -8
 | 
			
		||||
region: primary_menu
 | 
			
		||||
weight: 0
 | 
			
		||||
provider: null
 | 
			
		||||
plugin: 'system_menu_block:opencase-admin'
 | 
			
		||||
plugin: 'superfish:opencase'
 | 
			
		||||
settings:
 | 
			
		||||
  id: 'system_menu_block:opencase-admin'
 | 
			
		||||
  label: 'OpenCase Admin'
 | 
			
		||||
  provider: system
 | 
			
		||||
  label_display: visible
 | 
			
		||||
  level: 1
 | 
			
		||||
  depth: 0
 | 
			
		||||
  id: 'superfish:opencase'
 | 
			
		||||
  label: OpenCase
 | 
			
		||||
  provider: superfish
 | 
			
		||||
  label_display: '0'
 | 
			
		||||
  level: '1'
 | 
			
		||||
  depth: '0'
 | 
			
		||||
  menu_type: horizontal
 | 
			
		||||
  style: none
 | 
			
		||||
  arrow: 0
 | 
			
		||||
  shadow: 1
 | 
			
		||||
  speed: fast
 | 
			
		||||
  delay: '800'
 | 
			
		||||
  slide: vertical
 | 
			
		||||
  supposition: 1
 | 
			
		||||
  hoverintent: 1
 | 
			
		||||
  touch: '1'
 | 
			
		||||
  touchbh: '1'
 | 
			
		||||
  touchbp: '768'
 | 
			
		||||
  touchua: '0'
 | 
			
		||||
  touchual: ''
 | 
			
		||||
  touchuam: '0'
 | 
			
		||||
  small: '2'
 | 
			
		||||
  smallbp: '768'
 | 
			
		||||
  smallua: '0'
 | 
			
		||||
  smallual: ''
 | 
			
		||||
  smalluam: '0'
 | 
			
		||||
  smallact: '1'
 | 
			
		||||
  smallset: ''
 | 
			
		||||
  smallasa: 0
 | 
			
		||||
  smallcmc: 0
 | 
			
		||||
  smallecm: ''
 | 
			
		||||
  smallchc: 0
 | 
			
		||||
  smallech: ''
 | 
			
		||||
  smallicm: ''
 | 
			
		||||
  smallich: ''
 | 
			
		||||
  smallamt: ''
 | 
			
		||||
  smallabt: '1'
 | 
			
		||||
  supersubs: 1
 | 
			
		||||
  minwidth: '12'
 | 
			
		||||
  maxwidth: '27'
 | 
			
		||||
  multicolumn: 0
 | 
			
		||||
  multicolumn_depth: '1'
 | 
			
		||||
  multicolumn_levels: '1'
 | 
			
		||||
  pathlevels: '1'
 | 
			
		||||
  expanded: 0
 | 
			
		||||
  clone_parent: 0
 | 
			
		||||
  hide_linkdescription: 0
 | 
			
		||||
  add_linkdescription: 0
 | 
			
		||||
  link_depth_class: 1
 | 
			
		||||
  custom_list_class: ''
 | 
			
		||||
  custom_item_class: ''
 | 
			
		||||
  custom_link_class: ''
 | 
			
		||||
visibility: {  }
 | 
			
		||||
 | 
			
		||||
@ -1,31 +0,0 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - system.menu.opencase-add-actors
 | 
			
		||||
  module:
 | 
			
		||||
    - system
 | 
			
		||||
    - user
 | 
			
		||||
  theme:
 | 
			
		||||
    - bartik
 | 
			
		||||
id: opencaseaddactors
 | 
			
		||||
theme: bartik
 | 
			
		||||
region: sidebar_first
 | 
			
		||||
weight: -8
 | 
			
		||||
provider: null
 | 
			
		||||
plugin: 'system_menu_block:opencase-add-actors'
 | 
			
		||||
settings:
 | 
			
		||||
  id: 'system_menu_block:opencase-add-actors'
 | 
			
		||||
  label: 'Add Actors'
 | 
			
		||||
  provider: system
 | 
			
		||||
  label_display: visible
 | 
			
		||||
  level: 1
 | 
			
		||||
  depth: 0
 | 
			
		||||
visibility:
 | 
			
		||||
  user_role:
 | 
			
		||||
    id: user_role
 | 
			
		||||
    roles:
 | 
			
		||||
      authenticated: authenticated
 | 
			
		||||
    negate: false
 | 
			
		||||
    context_mapping:
 | 
			
		||||
      user: '@user.current_user_context:current_user'
 | 
			
		||||
@ -1,31 +0,0 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - system.menu.openc
 | 
			
		||||
  module:
 | 
			
		||||
    - system
 | 
			
		||||
    - user
 | 
			
		||||
  theme:
 | 
			
		||||
    - bartik
 | 
			
		||||
id: opencaseglobal
 | 
			
		||||
theme: bartik
 | 
			
		||||
region: sidebar_first
 | 
			
		||||
weight: -7
 | 
			
		||||
provider: null
 | 
			
		||||
plugin: 'system_menu_block:openc'
 | 
			
		||||
settings:
 | 
			
		||||
  id: 'system_menu_block:openc'
 | 
			
		||||
  label: 'OpenCase Global'
 | 
			
		||||
  provider: system
 | 
			
		||||
  label_display: '0'
 | 
			
		||||
  level: 1
 | 
			
		||||
  depth: 0
 | 
			
		||||
visibility:
 | 
			
		||||
  user_role:
 | 
			
		||||
    id: user_role
 | 
			
		||||
    roles:
 | 
			
		||||
      authenticated: authenticated
 | 
			
		||||
    negate: false
 | 
			
		||||
    context_mapping:
 | 
			
		||||
      user: '@user.current_user_context:current_user'
 | 
			
		||||
@ -1,7 +0,0 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies: {  }
 | 
			
		||||
id: openc
 | 
			
		||||
label: 'OpenCase Global'
 | 
			
		||||
description: ''
 | 
			
		||||
locked: false
 | 
			
		||||
@ -1,7 +0,0 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies: {  }
 | 
			
		||||
id: opencase-add-actors
 | 
			
		||||
label: 'OpenCase Add Actors'
 | 
			
		||||
description: ''
 | 
			
		||||
locked: false
 | 
			
		||||
@ -1,7 +0,0 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies: {  }
 | 
			
		||||
id: opencase-admin
 | 
			
		||||
label: 'OpenCase Admin'
 | 
			
		||||
description: 'Administer OpenCase '
 | 
			
		||||
locked: false
 | 
			
		||||
							
								
								
									
										7
									
								
								config/install/system.menu.opencase.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								config/install/system.menu.opencase.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies: {  }
 | 
			
		||||
id: opencase
 | 
			
		||||
label: OpenCase
 | 
			
		||||
description: 'Main navigation menu for OpenCase'
 | 
			
		||||
locked: false
 | 
			
		||||
							
								
								
									
										852
									
								
								config/install/views.view.contact_details_changes.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										852
									
								
								config/install/views.view.contact_details_changes.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,852 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  module:
 | 
			
		||||
    - opencase_entities
 | 
			
		||||
    - user
 | 
			
		||||
id: contact_details_changes
 | 
			
		||||
label: 'Contact Details History'
 | 
			
		||||
module: views
 | 
			
		||||
description: ''
 | 
			
		||||
tag: ''
 | 
			
		||||
base_table: oc_actor_field_revision
 | 
			
		||||
base_field: vid
 | 
			
		||||
display:
 | 
			
		||||
  default:
 | 
			
		||||
    display_plugin: default
 | 
			
		||||
    id: default
 | 
			
		||||
    display_title: Master
 | 
			
		||||
    position: 0
 | 
			
		||||
    display_options:
 | 
			
		||||
      access:
 | 
			
		||||
        type: perm
 | 
			
		||||
        options:
 | 
			
		||||
          perm: 'view published client entities'
 | 
			
		||||
      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: none
 | 
			
		||||
        options:
 | 
			
		||||
          offset: 0
 | 
			
		||||
      style:
 | 
			
		||||
        type: table
 | 
			
		||||
        options:
 | 
			
		||||
          grouping:
 | 
			
		||||
            1:
 | 
			
		||||
              field: view_oc_actor
 | 
			
		||||
              rendered: true
 | 
			
		||||
              rendered_strip: false
 | 
			
		||||
          row_class: ''
 | 
			
		||||
          default_row_class: true
 | 
			
		||||
          override: true
 | 
			
		||||
          sticky: false
 | 
			
		||||
          caption: ''
 | 
			
		||||
          summary: ''
 | 
			
		||||
          description: ''
 | 
			
		||||
          columns:
 | 
			
		||||
            first_name: first_name
 | 
			
		||||
            middle_names: middle_names
 | 
			
		||||
            last_name: last_name
 | 
			
		||||
            id: id
 | 
			
		||||
            revision_created: revision_created
 | 
			
		||||
            view_oc_actor: view_oc_actor
 | 
			
		||||
          info:
 | 
			
		||||
            first_name:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            middle_names:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            last_name:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            id:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            revision_created:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            view_oc_actor:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
          default: '-1'
 | 
			
		||||
          empty_table: false
 | 
			
		||||
      row:
 | 
			
		||||
        type: fields
 | 
			
		||||
        options:
 | 
			
		||||
          inline: {  }
 | 
			
		||||
          separator: ''
 | 
			
		||||
          hide_empty: false
 | 
			
		||||
          default_field_elements: true
 | 
			
		||||
      fields:
 | 
			
		||||
        revision_created:
 | 
			
		||||
          id: revision_created
 | 
			
		||||
          table: oc_actor_revision
 | 
			
		||||
          field: revision_created
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: min
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: Date
 | 
			
		||||
          exclude: false
 | 
			
		||||
          alter:
 | 
			
		||||
            alter_text: true
 | 
			
		||||
            text: '{{ revision_created | date(''d/m/Y'') }}'
 | 
			
		||||
            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
 | 
			
		||||
          set_precision: false
 | 
			
		||||
          precision: 0
 | 
			
		||||
          decimal: .
 | 
			
		||||
          separator: ''
 | 
			
		||||
          format_plural: 0
 | 
			
		||||
          format_plural_string: !!binary MQNAY291bnQ=
 | 
			
		||||
          prefix: ''
 | 
			
		||||
          suffix: ''
 | 
			
		||||
          click_sort_column: value
 | 
			
		||||
          type: timestamp
 | 
			
		||||
          settings: {  }
 | 
			
		||||
          group_column: value
 | 
			
		||||
          group_columns: {  }
 | 
			
		||||
          group_rows: true
 | 
			
		||||
          delta_limit: 0
 | 
			
		||||
          delta_offset: 0
 | 
			
		||||
          delta_reversed: false
 | 
			
		||||
          delta_first_last: false
 | 
			
		||||
          multi_type: separator
 | 
			
		||||
          field_api_classes: false
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: revision_created
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        first_name:
 | 
			
		||||
          id: first_name
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: first_name
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'First Name'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: first_name
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        middle_names:
 | 
			
		||||
          id: middle_names
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: middle_names
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Middle Names'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: middle_names
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        last_name:
 | 
			
		||||
          id: last_name
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: last_name
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Last Name'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: last_name
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        email:
 | 
			
		||||
          id: email
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: email
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Email Address'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: email
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        phone:
 | 
			
		||||
          id: phone
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: phone
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Main Phone Number'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: phone
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        phone2:
 | 
			
		||||
          id: phone2
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: phone2
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Alternative Phone Number'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: phone2
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        postal_address:
 | 
			
		||||
          id: postal_address
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: postal_address
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Postal Address'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: basic_string
 | 
			
		||||
          settings: {  }
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: postal_address
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        post_code:
 | 
			
		||||
          id: post_code
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: post_code
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Post Code'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: post_code
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        view_oc_actor:
 | 
			
		||||
          id: view_oc_actor
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: view_oc_actor
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: ''
 | 
			
		||||
          exclude: true
 | 
			
		||||
          alter:
 | 
			
		||||
            alter_text: true
 | 
			
		||||
            text: "◀\tBack to current record"
 | 
			
		||||
            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: false
 | 
			
		||||
          element_wrapper_type: ''
 | 
			
		||||
          element_wrapper_class: ''
 | 
			
		||||
          element_default_classes: true
 | 
			
		||||
          empty: ''
 | 
			
		||||
          hide_empty: false
 | 
			
		||||
          empty_zero: false
 | 
			
		||||
          hide_alter_empty: true
 | 
			
		||||
          text: 'See "rewrite results" (had to do it that way because contains HTML).'
 | 
			
		||||
          output_url_as_text: false
 | 
			
		||||
          absolute: false
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          plugin_id: entity_link
 | 
			
		||||
      filters: {  }
 | 
			
		||||
      sorts:
 | 
			
		||||
        revision_created:
 | 
			
		||||
          id: revision_created
 | 
			
		||||
          table: oc_actor_revision
 | 
			
		||||
          field: revision_created
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: min
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          order: DESC
 | 
			
		||||
          exposed: false
 | 
			
		||||
          expose:
 | 
			
		||||
            label: ''
 | 
			
		||||
          granularity: second
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: revision_created
 | 
			
		||||
          plugin_id: date
 | 
			
		||||
      header: {  }
 | 
			
		||||
      footer: {  }
 | 
			
		||||
      empty: {  }
 | 
			
		||||
      relationships: {  }
 | 
			
		||||
      arguments:
 | 
			
		||||
        id:
 | 
			
		||||
          id: id
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: 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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: id
 | 
			
		||||
          plugin_id: numeric
 | 
			
		||||
      display_extenders: {  }
 | 
			
		||||
      group_by: true
 | 
			
		||||
      title: 'Contact Details History'
 | 
			
		||||
    cache_metadata:
 | 
			
		||||
      max-age: -1
 | 
			
		||||
      contexts:
 | 
			
		||||
        - 'languages:language_content'
 | 
			
		||||
        - 'languages:language_interface'
 | 
			
		||||
        - url
 | 
			
		||||
        - user.permissions
 | 
			
		||||
      tags: {  }
 | 
			
		||||
  page_1:
 | 
			
		||||
    display_plugin: page
 | 
			
		||||
    id: page_1
 | 
			
		||||
    display_title: Page
 | 
			
		||||
    position: 1
 | 
			
		||||
    display_options:
 | 
			
		||||
      path: opencase/oc_actor/%/contact_details_history
 | 
			
		||||
    cache_metadata:
 | 
			
		||||
      max-age: -1
 | 
			
		||||
      contexts:
 | 
			
		||||
        - 'languages:language_content'
 | 
			
		||||
        - 'languages:language_interface'
 | 
			
		||||
        - url
 | 
			
		||||
        - user.permissions
 | 
			
		||||
      tags: {  }
 | 
			
		||||
							
								
								
									
										12
									
								
								config/schema/oc_event.schema.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								config/schema/oc_event.schema.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,12 @@
 | 
			
		||||
opencase.oc_event.*:
 | 
			
		||||
  type: config_entity
 | 
			
		||||
  label: 'Event config'
 | 
			
		||||
  mapping:
 | 
			
		||||
    id:
 | 
			
		||||
      type: string
 | 
			
		||||
      label: 'ID'
 | 
			
		||||
    label:
 | 
			
		||||
      type: label
 | 
			
		||||
      label: 'Label'
 | 
			
		||||
    uuid:
 | 
			
		||||
      type: string
 | 
			
		||||
@ -2,8 +2,25 @@ body {
 | 
			
		||||
  font-size: 100% !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* remove this confusing thing from user creation page */
 | 
			
		||||
#edit-password-policy-status {
 | 
			
		||||
  display: none;
 | 
			
		||||
} 
 | 
			
		||||
 | 
			
		||||
.form-composite > .fieldset-wrapper > .description, .form-item .description {
 | 
			
		||||
    font-size: 1em !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
div[data-drupal-selector=edit-user-bulk-form] {
 | 
			
		||||
  display: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.layout-container {
 | 
			
		||||
    max-width: 95% !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Free the people from the tyranny of the useless search button */
 | 
			
		||||
#edit-submit-actor-search{
 | 
			
		||||
#edit-submit-actor-search, #edit-submit-actor-search--2{
 | 
			
		||||
  display: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -16,3 +33,72 @@ body {
 | 
			
		||||
.js-form-item.form-item.js-form-type-checkbox.form-type-checkbox.js-form-item-new-revision.form-item-new-revision {
 | 
			
		||||
  display: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Style the search box in header bar. */
 | 
			
		||||
#block-exposedformactor-searchpage-1 {
 | 
			
		||||
  top: -20px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#block-exposedformactor-searchpage-1 #edit-actions {
 | 
			
		||||
  padding-top: 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#block-exposedformactor-searchpage-1 .form-text {
 | 
			
		||||
  width: 200px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Make drop-down nav menu opaque */
 | 
			
		||||
.block-superfish .menu ul {
 | 
			
		||||
  background: white;
 | 
			
		||||
  color: darkgray;
 | 
			
		||||
}
 | 
			
		||||
.block-superfish .menu ul li {
 | 
			
		||||
  border-bottom: 1px dotted darkgray;
 | 
			
		||||
}
 | 
			
		||||
.block-superfish .menu ul li a:hover {
 | 
			
		||||
  color: black;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* In views, display label at top of field. Ths is because full descriptions are displayed in the activity view so having the label in the middle means it disappears down the page. */
 | 
			
		||||
td.views-field {
 | 
			
		||||
    vertical-align: top;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Entity displays */
 | 
			
		||||
.oc_entity .left {
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
  width: 45%;
 | 
			
		||||
  padding: 1em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.oc_entity .right {
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
  width: 45%;
 | 
			
		||||
  padding: 1em;
 | 
			
		||||
  float: right;
 | 
			
		||||
}
 | 
			
		||||
.oc_entity .field {
 | 
			
		||||
  margin-top: 1em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Make entity reference field labels match normal field labels */
 | 
			
		||||
.field--type-entity-reference .field__label {
 | 
			
		||||
  font-family: Georgia, "Times New Roman", Times, serif;
 | 
			
		||||
  font-size: 1em !important;
 | 
			
		||||
  font-weight: bold !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Styling for grouped views */
 | 
			
		||||
table.views-table.views-view-table caption {
 | 
			
		||||
  text-align: left;
 | 
			
		||||
  margin-bottom: 1em;
 | 
			
		||||
  margin-top: 2em;
 | 
			
		||||
  font-weight: bold;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* remove "details" accordion, see https://drupal.stackexchange.com/questions/294312/why-has-this-details-accordion-appeared-in-this-view */
 | 
			
		||||
.views-table details {
 | 
			
		||||
 | 
			
		||||
    display: none;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										67
									
								
								docs/install.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								docs/install.txt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,67 @@
 | 
			
		||||
 | 
			
		||||
composer create-project drupal/recommended-project:8.9.8 drupal
 | 
			
		||||
 | 
			
		||||
# ADD THIS TO drupal/composer.json IN THE REPOSITORIES SECTION
 | 
			
		||||
,{
 | 
			
		||||
 | 
			
		||||
            "type": "vcs",
 | 
			
		||||
            "url": "https://git.autonomic.zone/autonomic-cooperative/opencase.git"
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# INSTALL MODULES VIA COMPOSER (this will add them to composer.json, which is better than using a premade one, because this way the versions will all sort themselves out)
 | 
			
		||||
composer require drupal/admin_toolbar drupal/security_review drupal/smtp drupal/opencase drupal/superfish
 | 
			
		||||
 | 
			
		||||
# CREATE DIRECTORIES AND SET UP FILE PERMISSIONS
 | 
			
		||||
 | 
			
		||||
# start in drupal directory
 | 
			
		||||
mkdir -p config/sync
 | 
			
		||||
mkdir private
 | 
			
		||||
 | 
			
		||||
# if web server user =/= deployment user:
 | 
			
		||||
# start in drupal directory
 | 
			
		||||
    sudo chgrp www-data config/sync
 | 
			
		||||
    cd web
 | 
			
		||||
    cp sites/default/default.settings.php sites/default/settings.php
 | 
			
		||||
    sudo chgrp www-data . -R
 | 
			
		||||
    mkdir sites/default/files
 | 
			
		||||
    sudo chmod g+w sites/default/files -R
 | 
			
		||||
    chmod g+w sites/default/settings.php
 | 
			
		||||
    sudo find -type d -exec chmod g+s {} \;
 | 
			
		||||
    sudo chmod g-w sites/default/
 | 
			
		||||
    sudo chmod g-w sites
 | 
			
		||||
    sudo chmod g-w sites ./sites/example.settings.local.php ./sites/development.services.yml ./sites/example.sites.php ./sites/default/default.services.yml ./sites/default/default.settings.php ./autoload.php 
 | 
			
		||||
    sudo chmod g-w -R modules/
 | 
			
		||||
    sudo chmod g-w -R core
 | 
			
		||||
    sudo chmod g-w profiles index.php update.php 
 | 
			
		||||
    sudo chmod g-w themes -R
 | 
			
		||||
    sudo chmod g-w web.config robots.txt 
 | 
			
		||||
    cd ../
 | 
			
		||||
    sudo chmod g-w -R web/modules
 | 
			
		||||
    sudo chgrp www-data private
 | 
			
		||||
    sudo chmod g+w,o-r,o-x private
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# INSTALL THE SITE
 | 
			
		||||
 | 
			
		||||
- Create a database 
 | 
			
		||||
- Go to the url and run the installer
 | 
			
		||||
 | 
			
		||||
# make settings file unwriteable now that it has been generated
 | 
			
		||||
sudo chmod a-w sites/default/settings.php
 | 
			
		||||
 | 
			
		||||
# ENABLE all the above modules 
 | 
			
		||||
drush en admin_toolbar security_review smtp opencase -y
 | 
			
		||||
 | 
			
		||||
    
 | 
			
		||||
# TODO set $trusted_host_patterns (in settings.php)
 | 
			
		||||
# TODO private files (in settings.php)
 | 
			
		||||
# TODO Set all the HTML roles to admin only - /admin/config/content/formats
 | 
			
		||||
# TODO run security review (make eveything untrusted except CRM Admin and Admin) - /admin/config/security-review
 | 
			
		||||
# TODO homepage -> /opencase/whatever-the-chosen-homepage, 403 - /user/login - /admin/config/system/site-information
 | 
			
		||||
# TODO disable blocks: tools, main navigation, footer menu - /admin/structure/block
 | 
			
		||||
# TODO logo & colours - admin/appearance/settings/bartik
 | 
			
		||||
# TODO disallow registering an account & turn off personal contact forms - /admin/config/people/accounts 
 | 
			
		||||
# TODO add linked actor field to form display and display display - top of both
 | 
			
		||||
# TODO change which contact form is the default - /admin/structure/contact
 | 
			
		||||
# TODO change "short" date formate to d/m/Y - /admin/config/regional/date-time
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
opencase_entities.oc_case_type.*:
 | 
			
		||||
opencase_cases.oc_case_type.*:
 | 
			
		||||
  type: config_entity
 | 
			
		||||
  label: 'Case type config'
 | 
			
		||||
  mapping:
 | 
			
		||||
							
								
								
									
										40
									
								
								modules/opencase_cases/oc_case.page.inc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								modules/opencase_cases/oc_case.page.inc
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,40 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Contains oc_case.page.inc.
 | 
			
		||||
 *
 | 
			
		||||
 * Page callback for Case entities.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Render\Element;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Prepares variables for Case templates.
 | 
			
		||||
 *
 | 
			
		||||
 * Default template: oc_case.html.twig.
 | 
			
		||||
 *
 | 
			
		||||
 * @param array $variables
 | 
			
		||||
 *   An associative array containing:
 | 
			
		||||
 *   - elements: An associative array containing the user information and any
 | 
			
		||||
 *   - attributes: HTML attributes for the containing element.
 | 
			
		||||
 */
 | 
			
		||||
function template_preprocess_oc_case(array &$variables) {
 | 
			
		||||
  // Separate the fields into two sections to be displayed in two columns.
 | 
			
		||||
  // Remove the name (title) field as this is displayed anyway.
 | 
			
		||||
  $variables['id'] = $variables['elements']['#oc_case']->get('id')[0]->get('value')->getValue();
 | 
			
		||||
  $variables['eva_fields'] = array(); // if the installation has any "EVA" (embedded view) fields this should catch them.
 | 
			
		||||
  $variables['base_fields'] = array();
 | 
			
		||||
  $variables['other_fields'] = array();
 | 
			
		||||
  foreach (Element::children($variables['elements']) as $key) {
 | 
			
		||||
    $variables['content'][$key] = $variables['elements'][$key];
 | 
			
		||||
    if (in_array($key, ['created', 'changed', 'files', 'actors_involved', 'status', 'user_id'])) {
 | 
			
		||||
      $variables['base_fields'][$key] = $variables['elements'][$key];
 | 
			
		||||
    } else if (strpos($key, "entity_view") !== false) {
 | 
			
		||||
      $variables['eva_fields'][$key] = $variables['elements'][$key];
 | 
			
		||||
    } else {
 | 
			
		||||
      $variables['other_fields'][$key] = $variables['elements'][$key];
 | 
			
		||||
      unset($variables['other_fields']['name']);
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										7
									
								
								modules/opencase_cases/opencase_cases.info.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								modules/opencase_cases/opencase_cases.info.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
name: 'Opencase Cases'
 | 
			
		||||
type: module
 | 
			
		||||
description: 'Provides case entities and a required field on activities linking them to a case.'
 | 
			
		||||
core: 8.x
 | 
			
		||||
package: 'OpenCase'
 | 
			
		||||
dependencies:
 | 
			
		||||
  - opencase_entities
 | 
			
		||||
							
								
								
									
										12
									
								
								modules/opencase_cases/opencase_cases.links.action.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								modules/opencase_cases/opencase_cases.links.action.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,12 @@
 | 
			
		||||
 | 
			
		||||
entity.oc_case.add_form:
 | 
			
		||||
  route_name: entity.oc_case.add_page
 | 
			
		||||
  title: 'Add Case'
 | 
			
		||||
  appears_on:
 | 
			
		||||
    - entity.oc_case.collection
 | 
			
		||||
entity.oc_case_type.add_form:
 | 
			
		||||
  route_name: entity.oc_case_type.add_form
 | 
			
		||||
  title: 'Add Case type'
 | 
			
		||||
  appears_on:
 | 
			
		||||
    - entity.oc_case_type.collection
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										25
									
								
								modules/opencase_cases/opencase_cases.links.menu.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								modules/opencase_cases/opencase_cases.links.menu.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,25 @@
 | 
			
		||||
opencase_cases.manage_case_types:
 | 
			
		||||
  title: 'Manage case types'
 | 
			
		||||
  description: 'Configure types of cases and their fields'
 | 
			
		||||
  menu_name: opencase
 | 
			
		||||
  parent: opencase.opencase_admin_menu 
 | 
			
		||||
  url: internal:/admin/opencase/oc_case_type
 | 
			
		||||
  weight: 2
 | 
			
		||||
# Case menu items definition
 | 
			
		||||
entity.oc_case.collection:
 | 
			
		||||
  title: 'Case list'
 | 
			
		||||
  route_name: entity.oc_case.collection
 | 
			
		||||
  description: 'List Case entities'
 | 
			
		||||
  parent: system.admin_structure
 | 
			
		||||
  weight: 100
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Case type menu items definition
 | 
			
		||||
entity.oc_case_type.collection:
 | 
			
		||||
  title: 'Case type'
 | 
			
		||||
  route_name: entity.oc_case_type.collection
 | 
			
		||||
  description: 'List Case type (bundles)'
 | 
			
		||||
  parent: system.admin_structure
 | 
			
		||||
  weight: 99
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										23
									
								
								modules/opencase_cases/opencase_cases.links.task.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								modules/opencase_cases/opencase_cases.links.task.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,23 @@
 | 
			
		||||
 | 
			
		||||
# Case routing definition
 | 
			
		||||
 | 
			
		||||
entity.oc_case.canonical:
 | 
			
		||||
  route_name: entity.oc_case.canonical
 | 
			
		||||
  base_route: entity.oc_case.canonical
 | 
			
		||||
  title: 'View'
 | 
			
		||||
 | 
			
		||||
entity.oc_case.edit_form:
 | 
			
		||||
  route_name: entity.oc_case.edit_form
 | 
			
		||||
  base_route: entity.oc_case.canonical
 | 
			
		||||
  title: 'Edit'
 | 
			
		||||
 | 
			
		||||
entity.oc_case.version_history:
 | 
			
		||||
  route_name: entity.oc_case.version_history
 | 
			
		||||
  base_route: entity.oc_case.canonical
 | 
			
		||||
  title: 'Revisions'
 | 
			
		||||
 | 
			
		||||
entity.oc_case.delete_form:
 | 
			
		||||
  route_name:  entity.oc_case.delete_form
 | 
			
		||||
  base_route:  entity.oc_case.canonical
 | 
			
		||||
  title: Delete
 | 
			
		||||
  weight: 10
 | 
			
		||||
							
								
								
									
										138
									
								
								modules/opencase_cases/opencase_cases.module
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										138
									
								
								modules/opencase_cases/opencase_cases.module
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,138 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Contains opencase_cases.module.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Routing\RouteMatchInterface;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Implements hook_help().
 | 
			
		||||
 */
 | 
			
		||||
function opencase_cases_help($route_name, RouteMatchInterface $route_match) {
 | 
			
		||||
  switch ($route_name) {
 | 
			
		||||
    // Main module help for the opencase_cases module.
 | 
			
		||||
    case 'help.page.opencase_cases':
 | 
			
		||||
      $output = '';
 | 
			
		||||
      $output .= '<h3>' . t('About') . '</h3>';
 | 
			
		||||
      $output .= '<p>' . t('Provides case entities and a required field on activities linking them to a case.') . '</p>';
 | 
			
		||||
      return $output;
 | 
			
		||||
 | 
			
		||||
    default:
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Implements hook_theme().
 | 
			
		||||
 */
 | 
			
		||||
function opencase_cases_theme() {
 | 
			
		||||
  return [
 | 
			
		||||
    'opencase_cases' => [
 | 
			
		||||
      'render element' => 'children',
 | 
			
		||||
    ],
 | 
			
		||||
    'oc_case' => [
 | 
			
		||||
      'render element' => 'elements',
 | 
			
		||||
      'file' => 'oc_case.page.inc',
 | 
			
		||||
      'template' => 'oc_case',
 | 
			
		||||
    ],
 | 
			
		||||
    'oc_case_content_add_list' => [
 | 
			
		||||
      'render element' => 'content',
 | 
			
		||||
      'variables' => ['content' => NULL],
 | 
			
		||||
      'file' => 'oc_case.page.inc',
 | 
			
		||||
    ]
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function opencase_cases_entity_base_field_info($entity_type) {
 | 
			
		||||
  $fields = array();
 | 
			
		||||
  
 | 
			
		||||
  // Add Case field to Activity 
 | 
			
		||||
  if ($entity_type->id() === 'oc_activity') {
 | 
			
		||||
    $fields['oc_case'] = \Drupal\Core\Field\BaseFieldDefinition::create('entity_reference')
 | 
			
		||||
      ->setLabel(t('Case'))
 | 
			
		||||
      ->setDescription(t('The case this activity belongs to.'))
 | 
			
		||||
      ->setSetting('target_type', 'oc_case')
 | 
			
		||||
      ->setSetting('handler', 'default')
 | 
			
		||||
      ->setTranslatable(TRUE)
 | 
			
		||||
      ->setCardinality(1)
 | 
			
		||||
      ->setDefaultValueCallback('opencase_cases_default_activity_case_value')
 | 
			
		||||
      ->setDisplayOptions('view', [
 | 
			
		||||
        'type' => 'string',
 | 
			
		||||
        'weight' => -3,
 | 
			
		||||
      ])
 | 
			
		||||
      ->setRequired(TRUE);
 | 
			
		||||
  }
 | 
			
		||||
  return $fields;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* When creating an activity, it sets the case id from the URL.
 | 
			
		||||
/*/
 | 
			
		||||
public static function opencase_cases_default_activity_case_value() {
 | 
			
		||||
 return array(\Drupal::request()->query->get('case_id'));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 /**
 | 
			
		||||
 * Implementation of hook_form_alter()
 | 
			
		||||
 * Changes what page is redirected to after deleting things
 | 
			
		||||
 */
 | 
			
		||||
function opencase_cases_form_alter(&$form, &$form_state, $form_id) {
 | 
			
		||||
  if (preg_match('/oc_actor_.*_delete_form/', $form_id) or (preg_match('/oc_case_.*_delete_form/', $form_id)) or (preg_match('/oc_organisation_.*_delete_form/', $form_id))) {
 | 
			
		||||
    $form['actions']['submit']['#submit'][] = '_opencase_cases_redirect_to_home';
 | 
			
		||||
    $form['actions']['cancel']['#url'] = $form_state->getFormObject()->getEntity()->toUrl();
 | 
			
		||||
  }
 | 
			
		||||
  if (preg_match('/oc_activity_.*_delete_form/', $form_id)) {
 | 
			
		||||
    $form['actions']['submit']['#submit'][] = '_opencase_cases_delete_activity_redirect';
 | 
			
		||||
    $form['actions']['cancel']['#url'] = $form_state->getFormObject()->getEntity()->toUrl();
 | 
			
		||||
  }
 | 
			
		||||
} 
 | 
			
		||||
 
 | 
			
		||||
function _opencase_cases_redirect_to_home($form, &$form_state) {
 | 
			
		||||
  $form_state->setRedirect('<front>'); 
 | 
			
		||||
 
 | 
			
		||||
function _opencase_cases_delete_activity_redirect($form, &$form_state) {
 | 
			
		||||
  $case_id = $form_state->getFormObject()->getEntity()->oc_case->target_id;
 | 
			
		||||
  $form_state->setRedirect('entity.oc_case.canonical', ['oc_case' => $case_id]);
 | 
			
		||||
 
 | 
			
		||||
/**
 | 
			
		||||
 * Implements hook_theme_suggestions_HOOK().
 | 
			
		||||
 */
 | 
			
		||||
function opencase_cases_theme_suggestions_oc_case(array $variables) {
 | 
			
		||||
  $suggestions = [];
 | 
			
		||||
  $entity = $variables['elements']['#oc_case'];
 | 
			
		||||
  $sanitized_view_mode = strtr($variables['elements']['#view_mode'], '.', '_');
 | 
			
		||||
 
 | 
			
		||||
  $suggestions[] = 'oc_case__' . $sanitized_view_mode;
 | 
			
		||||
  $suggestions[] = 'oc_case__' . $entity->bundle();
 | 
			
		||||
  $suggestions[] = 'oc_case__' . $entity->bundle() . '__' . $sanitized_view_mode;
 | 
			
		||||
  $suggestions[] = 'oc_case__' . $entity->id();
 | 
			
		||||
  $suggestions[] = 'oc_case__' . $entity->id() . '__' . $sanitized_view_mode;
 | 
			
		||||
  return $suggestions;
 | 
			
		||||
} 
 | 
			
		||||
 
 | 
			
		||||
function opencase_views_query_alter(Drupal\views\ViewExecutable $view, $query) {
 | 
			
		||||
  if ($view->getBaseEntityType() && $view->getBaseEntityType()->id() == 'oc_case') {
 | 
			
		||||
    $query->addTag('oc_case_access');
 | 
			
		||||
  }
 | 
			
		||||
  if ($view->getBaseEntityType() && $view->getBaseEntityType()->id() == 'oc_activity') {
 | 
			
		||||
    $query->addTag('oc_activity_access');
 | 
			
		||||
  }
 | 
			
		||||
} 
 | 
			
		||||
 
 | 
			
		||||
function opencase_query_oc_case_access_alter($query) {
 | 
			
		||||
  if (\Drupal::currentUser()->hasPermission('view published case entities')) {
 | 
			
		||||
    return;
 | 
			
		||||
  } 
 | 
			
		||||
  $linked_actor_id = CaseInvolvement::getLinkedActorId(\Drupal::currentUser());
 | 
			
		||||
  $query->addJoin('INNER', 'oc_case__actors_involved', 'access_filter', 'access_filter.entity_id = oc_case_field_data.id');
 | 
			
		||||
  $query->condition('access_filter.actors_involved_target_id', $linked_actor_id);
 | 
			
		||||
} 
 | 
			
		||||
 
 | 
			
		||||
function opencase_query_oc_activity_access_alter($query) {
 | 
			
		||||
  if (\Drupal::currentUser()->hasPermission('view published case entities')) {
 | 
			
		||||
    return;
 | 
			
		||||
  } 
 | 
			
		||||
  $linked_actor_id = CaseInvolvement::getLinkedActorId(\Drupal::currentUser());
 | 
			
		||||
  $query->addJoin('INNER', 'oc_case__actors_involved', 'access_filter', 'access_filter.entity_id = oc_activity_field_data.oc_case');
 | 
			
		||||
  $query->condition('access_filter.actors_involved_target_id', $linked_actor_id);
 | 
			
		||||
} 
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities;
 | 
			
		||||
namespace Drupal\opencase_cases;
 | 
			
		||||
 | 
			
		||||
class CaseInvolvement {
 | 
			
		||||
 | 
			
		||||
@ -1,12 +1,12 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities\Controller;
 | 
			
		||||
namespace Drupal\opencase_cases\Controller;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Utility\Xss;
 | 
			
		||||
use Drupal\Core\Controller\ControllerBase;
 | 
			
		||||
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
 | 
			
		||||
use Drupal\Core\Url;
 | 
			
		||||
use Drupal\opencase_entities\Entity\OCCaseInterface;
 | 
			
		||||
use Drupal\opencase_cases\Entity\OCCaseInterface;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Class OCCaseController.
 | 
			
		||||
@ -48,7 +48,7 @@ class OCCaseController extends ControllerBase implements ContainerInjectionInter
 | 
			
		||||
  /**
 | 
			
		||||
   * Generates an overview table of older revisions of a Case .
 | 
			
		||||
   *
 | 
			
		||||
   * @param \Drupal\opencase_entities\Entity\OCCaseInterface $oc_case
 | 
			
		||||
   * @param \Drupal\opencase_cases\Entity\OCCaseInterface $oc_case
 | 
			
		||||
   *   A Case  object.
 | 
			
		||||
   *
 | 
			
		||||
   * @return array
 | 
			
		||||
@ -75,7 +75,7 @@ class OCCaseController extends ControllerBase implements ContainerInjectionInter
 | 
			
		||||
    $latest_revision = TRUE;
 | 
			
		||||
 | 
			
		||||
    foreach (array_reverse($vids) as $vid) {
 | 
			
		||||
      /** @var \Drupal\opencase_entities\OCCaseInterface $revision */
 | 
			
		||||
      /** @var \Drupal\opencase_cases\OCCaseInterface $revision */
 | 
			
		||||
      $revision = $oc_case_storage->loadRevision($vid);
 | 
			
		||||
      // Only show revisions that are affected by the language that is being
 | 
			
		||||
      // displayed.
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities\Entity;
 | 
			
		||||
namespace Drupal\opencase_cases\Entity;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\EntityStorageInterface;
 | 
			
		||||
use Drupal\Core\Field\BaseFieldDefinition;
 | 
			
		||||
@ -13,28 +13,28 @@ use Drupal\user\UserInterface;
 | 
			
		||||
/**
 | 
			
		||||
 * Defines the Case entity.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup opencase_entities
 | 
			
		||||
 * @ingroup opencase_cases
 | 
			
		||||
 *
 | 
			
		||||
 * @ContentEntityType(
 | 
			
		||||
 *   id = "oc_case",
 | 
			
		||||
 *   label = @Translation("Case"),
 | 
			
		||||
 *   bundle_label = @Translation("Case type"),
 | 
			
		||||
 *   handlers = {
 | 
			
		||||
 *     "storage" = "Drupal\opencase_entities\OCCaseStorage",
 | 
			
		||||
 *     "storage" = "Drupal\opencase_cases\OCCaseStorage",
 | 
			
		||||
 *     "view_builder" = "Drupal\Core\Entity\EntityViewBuilder",
 | 
			
		||||
 *     "list_builder" = "Drupal\opencase_entities\OCCaseListBuilder",
 | 
			
		||||
 *     "views_data" = "Drupal\opencase_entities\Entity\OCCaseViewsData",
 | 
			
		||||
 *     "translation" = "Drupal\opencase_entities\OCCaseTranslationHandler",
 | 
			
		||||
 *     "list_builder" = "Drupal\opencase_cases\OCCaseListBuilder",
 | 
			
		||||
 *     "views_data" = "Drupal\opencase_cases\Entity\OCCaseViewsData",
 | 
			
		||||
 *     "translation" = "Drupal\opencase_cases\OCCaseTranslationHandler",
 | 
			
		||||
 *
 | 
			
		||||
 *     "form" = {
 | 
			
		||||
 *       "default" = "Drupal\opencase_entities\Form\OCCaseForm",
 | 
			
		||||
 *       "add" = "Drupal\opencase_entities\Form\OCCaseForm",
 | 
			
		||||
 *       "edit" = "Drupal\opencase_entities\Form\OCCaseForm",
 | 
			
		||||
 *       "delete" = "Drupal\opencase_entities\Form\OCCaseDeleteForm",
 | 
			
		||||
 *       "default" = "Drupal\opencase_cases\Form\OCCaseForm",
 | 
			
		||||
 *       "add" = "Drupal\opencase_cases\Form\OCCaseForm",
 | 
			
		||||
 *       "edit" = "Drupal\opencase_cases\Form\OCCaseForm",
 | 
			
		||||
 *       "delete" = "Drupal\opencase_cases\Form\OCCaseDeleteForm",
 | 
			
		||||
 *     },
 | 
			
		||||
 *     "access" = "Drupal\opencase_entities\OCCaseAccessControlHandler",
 | 
			
		||||
 *     "access" = "Drupal\opencase_cases\OCCaseAccessControlHandler",
 | 
			
		||||
 *     "route_provider" = {
 | 
			
		||||
 *       "html" = "Drupal\opencase_entities\OCCaseHtmlRouteProvider",
 | 
			
		||||
 *       "html" = "Drupal\opencase_cases\OCCaseHtmlRouteProvider",
 | 
			
		||||
 *     },
 | 
			
		||||
 *   },
 | 
			
		||||
 *   base_table = "oc_case",
 | 
			
		||||
@ -74,17 +74,6 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface {
 | 
			
		||||
 | 
			
		||||
  use EntityChangedTrait;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * When creating a case, it sets the first involved party to the actor
 | 
			
		||||
   * id from the URL, and the second to the author's linked actor 
 | 
			
		||||
   * (if it exists and is different)
 | 
			
		||||
   */
 | 
			
		||||
  public static function defaultVal() {
 | 
			
		||||
    $author_linked_actor_id = \Drupal\user\Entity\User::load(\Drupal::currentUser()->id())->get('field_linked_opencase_actor')->target_id;
 | 
			
		||||
    $currently_viewed_actor_id = \Drupal::request()->query->get('actor_id');
 | 
			
		||||
    return array_unique([$currently_viewed_actor_id, $author_linked_actor_id]);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * {@inheritdoc}
 | 
			
		||||
   */
 | 
			
		||||
@ -222,20 +211,19 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface {
 | 
			
		||||
      ->setDefaultValue(TRUE);
 | 
			
		||||
 | 
			
		||||
    $fields['user_id'] = BaseFieldDefinition::create('entity_reference')
 | 
			
		||||
      ->setLabel(t('Entered by'))
 | 
			
		||||
      ->setLabel(t('Created by'))
 | 
			
		||||
      ->setDescription(t('The user ID of author of the Case entity.'))
 | 
			
		||||
      ->setRevisionable(TRUE)
 | 
			
		||||
      ->setSetting('target_type', 'user')
 | 
			
		||||
      ->setSetting('handler', 'default')
 | 
			
		||||
      ->setTranslatable(TRUE)
 | 
			
		||||
      ->setDisplayOptions('view', [
 | 
			
		||||
        'label' => 'inline',
 | 
			
		||||
        'label' => 'above',
 | 
			
		||||
        'type' => 'author',
 | 
			
		||||
        'weight' => -4,
 | 
			
		||||
        'weight' => 80,
 | 
			
		||||
      ]);
 | 
			
		||||
    $fields['name'] = BaseFieldDefinition::create('string')
 | 
			
		||||
      ->setLabel(t('Case Title'))
 | 
			
		||||
      ->setDescription(t('A short phrase summing up what this case is about.'))
 | 
			
		||||
      ->setLabel(t('Title'))
 | 
			
		||||
      ->setRevisionable(TRUE)
 | 
			
		||||
      ->setSettings([
 | 
			
		||||
        'max_length' => 50,
 | 
			
		||||
@ -245,37 +233,13 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface {
 | 
			
		||||
      ->setDisplayOptions('view', [
 | 
			
		||||
        'label' => 'hidden',
 | 
			
		||||
        'type' => 'string',
 | 
			
		||||
        'weight' => -3,
 | 
			
		||||
      ])
 | 
			
		||||
      ->setDisplayOptions('form', [
 | 
			
		||||
        'type' => 'string_textfield',
 | 
			
		||||
        'weight' => -3,
 | 
			
		||||
        'weight' => -100,
 | 
			
		||||
      ])
 | 
			
		||||
      ->setRequired(TRUE);
 | 
			
		||||
 | 
			
		||||
    $fields['actors_involved'] = BaseFieldDefinition::create('entity_reference')
 | 
			
		||||
      ->setLabel(t('Involved Parties'))
 | 
			
		||||
      ->setDescription(t('People involved in this case. To add one, start typing their name.'))
 | 
			
		||||
      ->setSetting('target_type', 'oc_actor')
 | 
			
		||||
      ->setSetting('handler', 'default')
 | 
			
		||||
      ->setTranslatable(TRUE)
 | 
			
		||||
      ->setCardinality(-1)
 | 
			
		||||
      ->setDisplayOptions('form', [
 | 
			
		||||
        'type' => 'entity_reference_autocomplete',
 | 
			
		||||
        'weight' => -2,
 | 
			
		||||
        'settings' => [
 | 
			
		||||
          'match_operator' => 'CONTAINS',
 | 
			
		||||
          'size' => '60',
 | 
			
		||||
          'autocomplete_type' => 'tags',
 | 
			
		||||
          'placeholder' => '',
 | 
			
		||||
        ],
 | 
			
		||||
      ])
 | 
			
		||||
      ->setDisplayOptions('view', [
 | 
			
		||||
        'label' => 'above',
 | 
			
		||||
        'weight' => -2
 | 
			
		||||
      ])
 | 
			
		||||
      ->setDefaultValueCallback('Drupal\opencase_entities\Entity\OCCase::defaultVal')
 | 
			
		||||
      ->setRequired(TRUE);
 | 
			
		||||
 | 
			
		||||
    $fields['files'] = BaseFieldDefinition::create('file')
 | 
			
		||||
      ->setLabel(t('Files'))
 | 
			
		||||
@ -295,17 +259,24 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface {
 | 
			
		||||
      ])
 | 
			
		||||
      ->setDisplayOptions('view', [
 | 
			
		||||
        'label' => 'above',
 | 
			
		||||
        'weight' => -1,
 | 
			
		||||
        'settings' => ['use_description_as_link_text' => 'true']
 | 
			
		||||
      ]);
 | 
			
		||||
 | 
			
		||||
    $fields['created'] = BaseFieldDefinition::create('created')
 | 
			
		||||
      ->setLabel(t('Created'))
 | 
			
		||||
      ->setDescription(t('The time that the entity was created.'));
 | 
			
		||||
      ->setLabel(t('Created on'))
 | 
			
		||||
      ->setDescription(t('When the case was created.'))
 | 
			
		||||
      ->setDisplayOptions('view', [
 | 
			
		||||
        'label' => 'above',
 | 
			
		||||
        'weight' => 80,
 | 
			
		||||
      ]);
 | 
			
		||||
 | 
			
		||||
    $fields['changed'] = BaseFieldDefinition::create('changed')
 | 
			
		||||
      ->setLabel(t('Changed'))
 | 
			
		||||
      ->setDescription(t('The time that the entity was last edited.'));
 | 
			
		||||
      ->setLabel(t('Last updated'))
 | 
			
		||||
      ->setDescription(t('When the case was last edited.'))
 | 
			
		||||
      ->setDisplayOptions('view', [
 | 
			
		||||
        'label' => 'above',
 | 
			
		||||
        'weight' => 80,
 | 
			
		||||
      ]);
 | 
			
		||||
 | 
			
		||||
    $fields['revision_translation_affected'] = BaseFieldDefinition::create('boolean')
 | 
			
		||||
      ->setLabel(t('Revision translation affected'))
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities\Entity;
 | 
			
		||||
namespace Drupal\opencase_cases\Entity;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\ContentEntityInterface;
 | 
			
		||||
use Drupal\Core\Entity\RevisionLogInterface;
 | 
			
		||||
@ -10,7 +10,7 @@ use Drupal\user\EntityOwnerInterface;
 | 
			
		||||
/**
 | 
			
		||||
 * Provides an interface for defining Case entities.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup opencase_entities
 | 
			
		||||
 * @ingroup opencase_cases
 | 
			
		||||
 */
 | 
			
		||||
interface OCCaseInterface extends ContentEntityInterface, RevisionLogInterface, EntityChangedInterface, EntityOwnerInterface {
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,7 @@ interface OCCaseInterface extends ContentEntityInterface, RevisionLogInterface,
 | 
			
		||||
   * @param string $name
 | 
			
		||||
   *   The Case name.
 | 
			
		||||
   *
 | 
			
		||||
   * @return \Drupal\opencase_entities\Entity\OCCaseInterface
 | 
			
		||||
   * @return \Drupal\opencase_cases\Entity\OCCaseInterface
 | 
			
		||||
   *   The called Case entity.
 | 
			
		||||
   */
 | 
			
		||||
  public function setName($name);
 | 
			
		||||
@ -49,7 +49,7 @@ interface OCCaseInterface extends ContentEntityInterface, RevisionLogInterface,
 | 
			
		||||
   * @param int $timestamp
 | 
			
		||||
   *   The Case creation timestamp.
 | 
			
		||||
   *
 | 
			
		||||
   * @return \Drupal\opencase_entities\Entity\OCCaseInterface
 | 
			
		||||
   * @return \Drupal\opencase_cases\Entity\OCCaseInterface
 | 
			
		||||
   *   The called Case entity.
 | 
			
		||||
   */
 | 
			
		||||
  public function setCreatedTime($timestamp);
 | 
			
		||||
@ -70,7 +70,7 @@ interface OCCaseInterface extends ContentEntityInterface, RevisionLogInterface,
 | 
			
		||||
   * @param bool $published
 | 
			
		||||
   *   TRUE to set this Case to published, FALSE to set it to unpublished.
 | 
			
		||||
   *
 | 
			
		||||
   * @return \Drupal\opencase_entities\Entity\OCCaseInterface
 | 
			
		||||
   * @return \Drupal\opencase_cases\Entity\OCCaseInterface
 | 
			
		||||
   *   The called Case entity.
 | 
			
		||||
   */
 | 
			
		||||
  public function setPublished($published);
 | 
			
		||||
@ -89,7 +89,7 @@ interface OCCaseInterface extends ContentEntityInterface, RevisionLogInterface,
 | 
			
		||||
   * @param int $timestamp
 | 
			
		||||
   *   The UNIX timestamp of when this revision was created.
 | 
			
		||||
   *
 | 
			
		||||
   * @return \Drupal\opencase_entities\Entity\OCCaseInterface
 | 
			
		||||
   * @return \Drupal\opencase_cases\Entity\OCCaseInterface
 | 
			
		||||
   *   The called Case entity.
 | 
			
		||||
   */
 | 
			
		||||
  public function setRevisionCreationTime($timestamp);
 | 
			
		||||
@ -108,7 +108,7 @@ interface OCCaseInterface extends ContentEntityInterface, RevisionLogInterface,
 | 
			
		||||
   * @param int $uid
 | 
			
		||||
   *   The user ID of the revision author.
 | 
			
		||||
   *
 | 
			
		||||
   * @return \Drupal\opencase_entities\Entity\OCCaseInterface
 | 
			
		||||
   * @return \Drupal\opencase_cases\Entity\OCCaseInterface
 | 
			
		||||
   *   The called Case entity.
 | 
			
		||||
   */
 | 
			
		||||
  public function setRevisionUserId($uid);
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities\Entity;
 | 
			
		||||
namespace Drupal\opencase_cases\Entity;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Config\Entity\ConfigEntityBundleBase;
 | 
			
		||||
 | 
			
		||||
@ -11,20 +11,20 @@ use Drupal\Core\Config\Entity\ConfigEntityBundleBase;
 | 
			
		||||
 *   id = "oc_case_type",
 | 
			
		||||
 *   label = @Translation("Case type"),
 | 
			
		||||
 *   handlers = {
 | 
			
		||||
 *     "access" = "Drupal\opencase_entities\OCCaseTypeAccessControlHandler",
 | 
			
		||||
 *     "access" = "Drupal\opencase_cases\OCCaseTypeAccessControlHandler",
 | 
			
		||||
 *     "view_builder" = "Drupal\Core\Entity\EntityViewBuilder",
 | 
			
		||||
 *     "list_builder" = "Drupal\opencase_entities\OCCaseTypeListBuilder",
 | 
			
		||||
 *     "list_builder" = "Drupal\opencase_cases\OCCaseTypeListBuilder",
 | 
			
		||||
 *     "form" = {
 | 
			
		||||
 *       "add" = "Drupal\opencase_entities\Form\OCCaseTypeForm",
 | 
			
		||||
 *       "edit" = "Drupal\opencase_entities\Form\OCCaseTypeForm",
 | 
			
		||||
 *       "delete" = "Drupal\opencase_entities\Form\OCCaseTypeDeleteForm"
 | 
			
		||||
 *       "add" = "Drupal\opencase_cases\Form\OCCaseTypeForm",
 | 
			
		||||
 *       "edit" = "Drupal\opencase_cases\Form\OCCaseTypeForm",
 | 
			
		||||
 *       "delete" = "Drupal\opencase_cases\Form\OCCaseTypeDeleteForm"
 | 
			
		||||
 *     },
 | 
			
		||||
 *     "route_provider" = {
 | 
			
		||||
 *       "html" = "Drupal\opencase_entities\OCCaseTypeHtmlRouteProvider",
 | 
			
		||||
 *       "html" = "Drupal\opencase_cases\OCCaseTypeHtmlRouteProvider",
 | 
			
		||||
 *     },
 | 
			
		||||
 *   },
 | 
			
		||||
 *   config_prefix = "oc_case_type",
 | 
			
		||||
 *   admin_permission = "administer opencase entity bundles",
 | 
			
		||||
 *   admin_permission = "administer case bundles",
 | 
			
		||||
 *   bundle_of = "oc_case",
 | 
			
		||||
 *   entity_keys = {
 | 
			
		||||
 *     "id" = "id",
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities\Entity;
 | 
			
		||||
namespace Drupal\opencase_cases\Entity;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Config\Entity\ConfigEntityInterface;
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities\Entity;
 | 
			
		||||
namespace Drupal\opencase_cases\Entity;
 | 
			
		||||
 | 
			
		||||
use Drupal\views\EntityViewsData;
 | 
			
		||||
 | 
			
		||||
@ -1,13 +1,13 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities\Form;
 | 
			
		||||
namespace Drupal\opencase_cases\Form;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\ContentEntityDeleteForm;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Provides a form for deleting Case entities.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup opencase_entities
 | 
			
		||||
 * @ingroup opencase_cases
 | 
			
		||||
 */
 | 
			
		||||
class OCCaseDeleteForm extends ContentEntityDeleteForm {
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities\Form;
 | 
			
		||||
namespace Drupal\opencase_cases\Form;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\ContentEntityForm;
 | 
			
		||||
use Drupal\Core\Form\FormStateInterface;
 | 
			
		||||
@ -8,7 +8,7 @@ use Drupal\Core\Form\FormStateInterface;
 | 
			
		||||
/**
 | 
			
		||||
 * Form controller for Case edit forms.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup opencase_entities
 | 
			
		||||
 * @ingroup opencase_cases
 | 
			
		||||
 */
 | 
			
		||||
class OCCaseForm extends ContentEntityForm {
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ class OCCaseForm extends ContentEntityForm {
 | 
			
		||||
   * {@inheritdoc}
 | 
			
		||||
   */
 | 
			
		||||
  public function buildForm(array $form, FormStateInterface $form_state) {
 | 
			
		||||
    /* @var $entity \Drupal\opencase_entities\Entity\OCCase */
 | 
			
		||||
    /* @var $entity \Drupal\opencase_cases\Entity\OCCase */
 | 
			
		||||
    $form = parent::buildForm($form, $form_state);
 | 
			
		||||
 | 
			
		||||
    if (!$this->entity->isNew()) {
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities\Form;
 | 
			
		||||
namespace Drupal\opencase_cases\Form;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Database\Connection;
 | 
			
		||||
use Drupal\Core\Entity\EntityStorageInterface;
 | 
			
		||||
@ -12,7 +12,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
 | 
			
		||||
/**
 | 
			
		||||
 * Provides a form for deleting a Case revision.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup opencase_entities
 | 
			
		||||
 * @ingroup opencase_cases
 | 
			
		||||
 */
 | 
			
		||||
class OCCaseRevisionDeleteForm extends ConfirmFormBase {
 | 
			
		||||
 | 
			
		||||
@ -20,7 +20,7 @@ class OCCaseRevisionDeleteForm extends ConfirmFormBase {
 | 
			
		||||
  /**
 | 
			
		||||
   * The Case revision.
 | 
			
		||||
   *
 | 
			
		||||
   * @var \Drupal\opencase_entities\Entity\OCCaseInterface
 | 
			
		||||
   * @var \Drupal\opencase_cases\Entity\OCCaseInterface
 | 
			
		||||
   */
 | 
			
		||||
  protected $revision;
 | 
			
		||||
 | 
			
		||||
@ -1,19 +1,19 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities\Form;
 | 
			
		||||
namespace Drupal\opencase_cases\Form;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Datetime\DateFormatterInterface;
 | 
			
		||||
use Drupal\Core\Entity\EntityStorageInterface;
 | 
			
		||||
use Drupal\Core\Form\ConfirmFormBase;
 | 
			
		||||
use Drupal\Core\Form\FormStateInterface;
 | 
			
		||||
use Drupal\Core\Url;
 | 
			
		||||
use Drupal\opencase_entities\Entity\OCCaseInterface;
 | 
			
		||||
use Drupal\opencase_cases\Entity\OCCaseInterface;
 | 
			
		||||
use Symfony\Component\DependencyInjection\ContainerInterface;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Provides a form for reverting a Case revision.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup opencase_entities
 | 
			
		||||
 * @ingroup opencase_cases
 | 
			
		||||
 */
 | 
			
		||||
class OCCaseRevisionRevertForm extends ConfirmFormBase {
 | 
			
		||||
 | 
			
		||||
@ -21,7 +21,7 @@ class OCCaseRevisionRevertForm extends ConfirmFormBase {
 | 
			
		||||
  /**
 | 
			
		||||
   * The Case revision.
 | 
			
		||||
   *
 | 
			
		||||
   * @var \Drupal\opencase_entities\Entity\OCCaseInterface
 | 
			
		||||
   * @var \Drupal\opencase_cases\Entity\OCCaseInterface
 | 
			
		||||
   */
 | 
			
		||||
  protected $revision;
 | 
			
		||||
 | 
			
		||||
@ -130,12 +130,12 @@ class OCCaseRevisionRevertForm extends ConfirmFormBase {
 | 
			
		||||
  /**
 | 
			
		||||
   * Prepares a revision to be reverted.
 | 
			
		||||
   *
 | 
			
		||||
   * @param \Drupal\opencase_entities\Entity\OCCaseInterface $revision
 | 
			
		||||
   * @param \Drupal\opencase_cases\Entity\OCCaseInterface $revision
 | 
			
		||||
   *   The revision to be reverted.
 | 
			
		||||
   * @param \Drupal\Core\Form\FormStateInterface $form_state
 | 
			
		||||
   *   The current state of the form.
 | 
			
		||||
   *
 | 
			
		||||
   * @return \Drupal\opencase_entities\Entity\OCCaseInterface
 | 
			
		||||
   * @return \Drupal\opencase_cases\Entity\OCCaseInterface
 | 
			
		||||
   *   The prepared revision ready to be stored.
 | 
			
		||||
   */
 | 
			
		||||
  protected function prepareRevertedRevision(OCCaseInterface $revision, FormStateInterface $form_state) {
 | 
			
		||||
@ -1,18 +1,18 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities\Form;
 | 
			
		||||
namespace Drupal\opencase_cases\Form;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Datetime\DateFormatterInterface;
 | 
			
		||||
use Drupal\Core\Entity\EntityStorageInterface;
 | 
			
		||||
use Drupal\Core\Form\FormStateInterface;
 | 
			
		||||
use Drupal\Core\Language\LanguageManagerInterface;
 | 
			
		||||
use Drupal\opencase_entities\Entity\OCCaseInterface;
 | 
			
		||||
use Drupal\opencase_cases\Entity\OCCaseInterface;
 | 
			
		||||
use Symfony\Component\DependencyInjection\ContainerInterface;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Provides a form for reverting a Case revision for a single translation.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup opencase_entities
 | 
			
		||||
 * @ingroup opencase_cases
 | 
			
		||||
 */
 | 
			
		||||
class OCCaseRevisionRevertTranslationForm extends OCCaseRevisionRevertForm {
 | 
			
		||||
 | 
			
		||||
@ -93,7 +93,7 @@ class OCCaseRevisionRevertTranslationForm extends OCCaseRevisionRevertForm {
 | 
			
		||||
  protected function prepareRevertedRevision(OCCaseInterface $revision, FormStateInterface $form_state) {
 | 
			
		||||
    $revert_untranslated_fields = $form_state->getValue('revert_untranslated_fields');
 | 
			
		||||
 | 
			
		||||
    /** @var \Drupal\opencase_entities\Entity\OCCaseInterface $default_revision */
 | 
			
		||||
    /** @var \Drupal\opencase_cases\Entity\OCCaseInterface $default_revision */
 | 
			
		||||
    $latest_revision = $this->OCCaseStorage->load($revision->id());
 | 
			
		||||
    $latest_revision_translation = $latest_revision->getTranslation($this->langcode);
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities\Form;
 | 
			
		||||
namespace Drupal\opencase_cases\Form;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Form\FormBase;
 | 
			
		||||
use Drupal\Core\Form\FormStateInterface;
 | 
			
		||||
@ -8,7 +8,7 @@ use Drupal\Core\Form\FormStateInterface;
 | 
			
		||||
/**
 | 
			
		||||
 * Class OCCaseSettingsForm.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup opencase_entities
 | 
			
		||||
 * @ingroup opencase_cases
 | 
			
		||||
 */
 | 
			
		||||
class OCCaseSettingsForm extends FormBase {
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities\Form;
 | 
			
		||||
namespace Drupal\opencase_cases\Form;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\EntityConfirmFormBase;
 | 
			
		||||
use Drupal\Core\Form\FormStateInterface;
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities\Form;
 | 
			
		||||
namespace Drupal\opencase_cases\Form;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\EntityForm;
 | 
			
		||||
use Drupal\Core\Form\FormStateInterface;
 | 
			
		||||
@ -30,7 +30,7 @@ class OCCaseTypeForm extends EntityForm {
 | 
			
		||||
      '#type' => 'machine_name',
 | 
			
		||||
      '#default_value' => $oc_case_type->id(),
 | 
			
		||||
      '#machine_name' => [
 | 
			
		||||
        'exists' => '\Drupal\opencase_entities\Entity\OCCaseType::load',
 | 
			
		||||
        'exists' => '\Drupal\opencase_cases\Entity\OCCaseType::load',
 | 
			
		||||
      ],
 | 
			
		||||
      '#disabled' => !$oc_case_type->isNew(),
 | 
			
		||||
    ];
 | 
			
		||||
@ -1,17 +1,17 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities;
 | 
			
		||||
namespace Drupal\opencase_cases;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\EntityAccessControlHandler;
 | 
			
		||||
use Drupal\Core\Entity\EntityInterface;
 | 
			
		||||
use Drupal\Core\Session\AccountInterface;
 | 
			
		||||
use Drupal\Core\Access\AccessResult;
 | 
			
		||||
use Drupal\opencase_entities\CaseInvolvement;
 | 
			
		||||
use Drupal\opencase_cases\CaseInvolvement;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Access controller for the Case entity.
 | 
			
		||||
 *
 | 
			
		||||
 * @see \Drupal\opencase_entities\Entity\OCCase.
 | 
			
		||||
 * @see \Drupal\opencase_cases\Entity\OCCase.
 | 
			
		||||
 */
 | 
			
		||||
class OCCaseAccessControlHandler extends EntityAccessControlHandler {
 | 
			
		||||
 | 
			
		||||
@ -19,7 +19,7 @@ class OCCaseAccessControlHandler extends EntityAccessControlHandler {
 | 
			
		||||
   * {@inheritdoc}
 | 
			
		||||
   */
 | 
			
		||||
  protected function checkAccess(EntityInterface $entity, $operation, AccountInterface $account) {
 | 
			
		||||
    /** @var \Drupal\opencase_entities\Entity\OCCaseInterface $entity */
 | 
			
		||||
    /** @var \Drupal\opencase_cases\Entity\OCCaseInterface $entity */
 | 
			
		||||
    switch ($operation) {
 | 
			
		||||
      case 'view':
 | 
			
		||||
        if (!$entity->isPublished()) {
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities;
 | 
			
		||||
namespace Drupal\opencase_cases;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\EntityTypeInterface;
 | 
			
		||||
use Drupal\Core\Entity\Routing\AdminHtmlRouteProvider;
 | 
			
		||||
@ -64,7 +64,7 @@ class OCCaseHtmlRouteProvider extends AdminHtmlRouteProvider {
 | 
			
		||||
      $route
 | 
			
		||||
        ->setDefaults([
 | 
			
		||||
          '_title' => "{$entity_type->getLabel()} revisions",
 | 
			
		||||
          '_controller' => '\Drupal\opencase_entities\Controller\OCCaseController::revisionOverview',
 | 
			
		||||
          '_controller' => '\Drupal\opencase_cases\Controller\OCCaseController::revisionOverview',
 | 
			
		||||
        ])
 | 
			
		||||
        ->setRequirement('_permission', 'access case revisions')
 | 
			
		||||
        ->setOption('_admin_route', TRUE);
 | 
			
		||||
@ -87,8 +87,8 @@ class OCCaseHtmlRouteProvider extends AdminHtmlRouteProvider {
 | 
			
		||||
      $route = new Route($entity_type->getLinkTemplate('revision'));
 | 
			
		||||
      $route
 | 
			
		||||
        ->setDefaults([
 | 
			
		||||
          '_controller' => '\Drupal\opencase_entities\Controller\OCCaseController::revisionShow',
 | 
			
		||||
          '_title_callback' => '\Drupal\opencase_entities\Controller\OCCaseController::revisionPageTitle',
 | 
			
		||||
          '_controller' => '\Drupal\opencase_cases\Controller\OCCaseController::revisionShow',
 | 
			
		||||
          '_title_callback' => '\Drupal\opencase_cases\Controller\OCCaseController::revisionPageTitle',
 | 
			
		||||
        ])
 | 
			
		||||
        ->setRequirement('_permission', 'access case revisions')
 | 
			
		||||
        ->setOption('_admin_route', TRUE);
 | 
			
		||||
@ -111,7 +111,7 @@ class OCCaseHtmlRouteProvider extends AdminHtmlRouteProvider {
 | 
			
		||||
      $route = new Route($entity_type->getLinkTemplate('revision_revert'));
 | 
			
		||||
      $route
 | 
			
		||||
        ->setDefaults([
 | 
			
		||||
          '_form' => '\Drupal\opencase_entities\Form\OCCaseRevisionRevertForm',
 | 
			
		||||
          '_form' => '\Drupal\opencase_cases\Form\OCCaseRevisionRevertForm',
 | 
			
		||||
          '_title' => 'Revert to earlier revision',
 | 
			
		||||
        ])
 | 
			
		||||
        ->setRequirement('_permission', 'revert all case revisions')
 | 
			
		||||
@ -135,7 +135,7 @@ class OCCaseHtmlRouteProvider extends AdminHtmlRouteProvider {
 | 
			
		||||
      $route = new Route($entity_type->getLinkTemplate('revision_delete'));
 | 
			
		||||
      $route
 | 
			
		||||
        ->setDefaults([
 | 
			
		||||
          '_form' => '\Drupal\opencase_entities\Form\OCCaseRevisionDeleteForm',
 | 
			
		||||
          '_form' => '\Drupal\opencase_cases\Form\OCCaseRevisionDeleteForm',
 | 
			
		||||
          '_title' => 'Delete earlier revision',
 | 
			
		||||
        ])
 | 
			
		||||
        ->setRequirement('_permission', 'delete all case revisions')
 | 
			
		||||
@ -159,7 +159,7 @@ class OCCaseHtmlRouteProvider extends AdminHtmlRouteProvider {
 | 
			
		||||
      $route = new Route($entity_type->getLinkTemplate('translation_revert'));
 | 
			
		||||
      $route
 | 
			
		||||
        ->setDefaults([
 | 
			
		||||
          '_form' => '\Drupal\opencase_entities\Form\OCCaseRevisionRevertTranslationForm',
 | 
			
		||||
          '_form' => '\Drupal\opencase_cases\Form\OCCaseRevisionRevertTranslationForm',
 | 
			
		||||
          '_title' => 'Revert to earlier revision of a translation',
 | 
			
		||||
        ])
 | 
			
		||||
        ->setRequirement('_permission', 'revert all case revisions')
 | 
			
		||||
@ -183,7 +183,7 @@ class OCCaseHtmlRouteProvider extends AdminHtmlRouteProvider {
 | 
			
		||||
      $route = new Route("/admin/structure/{$entity_type->id()}/settings");
 | 
			
		||||
      $route
 | 
			
		||||
        ->setDefaults([
 | 
			
		||||
          '_form' => 'Drupal\opencase_entities\Form\OCCaseSettingsForm',
 | 
			
		||||
          '_form' => 'Drupal\opencase_cases\Form\OCCaseSettingsForm',
 | 
			
		||||
          '_title' => "{$entity_type->getLabel()} settings",
 | 
			
		||||
        ])
 | 
			
		||||
        ->setRequirement('_permission', $entity_type->getAdminPermission())
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities;
 | 
			
		||||
namespace Drupal\opencase_cases;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\EntityInterface;
 | 
			
		||||
use Drupal\Core\Entity\EntityListBuilder;
 | 
			
		||||
@ -9,7 +9,7 @@ use Drupal\Core\Link;
 | 
			
		||||
/**
 | 
			
		||||
 * Defines a class to build a listing of Case entities.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup opencase_entities
 | 
			
		||||
 * @ingroup opencase_cases
 | 
			
		||||
 */
 | 
			
		||||
class OCCaseListBuilder extends EntityListBuilder {
 | 
			
		||||
 | 
			
		||||
@ -27,7 +27,7 @@ class OCCaseListBuilder extends EntityListBuilder {
 | 
			
		||||
   * {@inheritdoc}
 | 
			
		||||
   */
 | 
			
		||||
  public function buildRow(EntityInterface $entity) {
 | 
			
		||||
    /* @var $entity \Drupal\opencase_entities\Entity\OCCase */
 | 
			
		||||
    /* @var $entity \Drupal\opencase_cases\Entity\OCCase */
 | 
			
		||||
    $row['id'] = $entity->id();
 | 
			
		||||
    $row['name'] = Link::createFromRoute(
 | 
			
		||||
      $entity->label(),
 | 
			
		||||
@ -1,11 +1,11 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities;
 | 
			
		||||
namespace Drupal\opencase_cases;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\Sql\SqlContentEntityStorage;
 | 
			
		||||
use Drupal\Core\Session\AccountInterface;
 | 
			
		||||
use Drupal\Core\Language\LanguageInterface;
 | 
			
		||||
use Drupal\opencase_entities\Entity\OCCaseInterface;
 | 
			
		||||
use Drupal\opencase_cases\Entity\OCCaseInterface;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Defines the storage handler class for Case entities.
 | 
			
		||||
@ -13,7 +13,7 @@ use Drupal\opencase_entities\Entity\OCCaseInterface;
 | 
			
		||||
 * This extends the base storage class, adding required special handling for
 | 
			
		||||
 * Case entities.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup opencase_entities
 | 
			
		||||
 * @ingroup opencase_cases
 | 
			
		||||
 */
 | 
			
		||||
class OCCaseStorage extends SqlContentEntityStorage implements OCCaseStorageInterface {
 | 
			
		||||
 | 
			
		||||
@ -1,11 +1,11 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities;
 | 
			
		||||
namespace Drupal\opencase_cases;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\ContentEntityStorageInterface;
 | 
			
		||||
use Drupal\Core\Session\AccountInterface;
 | 
			
		||||
use Drupal\Core\Language\LanguageInterface;
 | 
			
		||||
use Drupal\opencase_entities\Entity\OCCaseInterface;
 | 
			
		||||
use Drupal\opencase_cases\Entity\OCCaseInterface;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Defines the storage handler class for Case entities.
 | 
			
		||||
@ -13,14 +13,14 @@ use Drupal\opencase_entities\Entity\OCCaseInterface;
 | 
			
		||||
 * This extends the base storage class, adding required special handling for
 | 
			
		||||
 * Case entities.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup opencase_entities
 | 
			
		||||
 * @ingroup opencase_cases
 | 
			
		||||
 */
 | 
			
		||||
interface OCCaseStorageInterface extends ContentEntityStorageInterface {
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Gets a list of Case revision IDs for a specific Case.
 | 
			
		||||
   *
 | 
			
		||||
   * @param \Drupal\opencase_entities\Entity\OCCaseInterface $entity
 | 
			
		||||
   * @param \Drupal\opencase_cases\Entity\OCCaseInterface $entity
 | 
			
		||||
   *   The Case entity.
 | 
			
		||||
   *
 | 
			
		||||
   * @return int[]
 | 
			
		||||
@ -42,7 +42,7 @@ interface OCCaseStorageInterface extends ContentEntityStorageInterface {
 | 
			
		||||
  /**
 | 
			
		||||
   * Counts the number of revisions in the default language.
 | 
			
		||||
   *
 | 
			
		||||
   * @param \Drupal\opencase_entities\Entity\OCCaseInterface $entity
 | 
			
		||||
   * @param \Drupal\opencase_cases\Entity\OCCaseInterface $entity
 | 
			
		||||
   *   The Case entity.
 | 
			
		||||
   *
 | 
			
		||||
   * @return int
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities;
 | 
			
		||||
namespace Drupal\opencase_cases;
 | 
			
		||||
 | 
			
		||||
use Drupal\content_translation\ContentTranslationHandler;
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities;
 | 
			
		||||
namespace Drupal\opencase_cases;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\EntityAccessControlHandler;
 | 
			
		||||
use Drupal\Core\Session\AccountInterface;
 | 
			
		||||
@ -11,7 +11,7 @@ use Drupal\Core\Access\AccessResult;
 | 
			
		||||
 * Defines the access control handler for the OCCaseType Config Entity.
 | 
			
		||||
 * Always allows viewing the label of the bundle.
 | 
			
		||||
 *
 | 
			
		||||
 * @see Drupal\opencase_entities\Entity\OCCaseType
 | 
			
		||||
 * @see Drupal\opencase_cases\Entity\OCCaseType
 | 
			
		||||
 */
 | 
			
		||||
class OCCaseTypeAccessControlHandler extends EntityAccessControlHandler {
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities;
 | 
			
		||||
namespace Drupal\opencase_cases;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\EntityTypeInterface;
 | 
			
		||||
use Drupal\Core\Entity\Routing\AdminHtmlRouteProvider;
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Drupal\opencase_entities;
 | 
			
		||||
namespace Drupal\opencase_cases;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Config\Entity\ConfigEntityListBuilder;
 | 
			
		||||
use Drupal\Core\Entity\EntityInterface;
 | 
			
		||||
							
								
								
									
										38
									
								
								modules/opencase_cases/templates/oc_case.html.twig
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								modules/opencase_cases/templates/oc_case.html.twig
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,38 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @file oc_case.html.twig
 | 
			
		||||
 * Default theme implementation to present Case data.
 | 
			
		||||
 *
 | 
			
		||||
 * This template is used when viewing Case pages.
 | 
			
		||||
 *
 | 
			
		||||
 *
 | 
			
		||||
 * Available variables:
 | 
			
		||||
 * - content: A list of content items. Use 'content' to print all content, or
 | 
			
		||||
 * - attributes: HTML attributes for the container element.
 | 
			
		||||
 *
 | 
			
		||||
 * @see template_preprocess_oc_case()
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup themeable
 | 
			
		||||
 */
 | 
			
		||||
#}
 | 
			
		||||
<div{{ attributes.addClass('oc_case') }}>
 | 
			
		||||
  <h2>{{ title }}</h2>
 | 
			
		||||
  <div class="oc_entity">
 | 
			
		||||
    <div class="left">
 | 
			
		||||
      {{ base_fields.actors_involved }}
 | 
			
		||||
      {{ base_fields.changed }}
 | 
			
		||||
      {{ base_fields.created }}
 | 
			
		||||
      {{ base_fields.user_id }}
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="right">
 | 
			
		||||
      {% for field in other_fields %}
 | 
			
		||||
        {{ field }}
 | 
			
		||||
      {% endfor %}
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="eva_fields">
 | 
			
		||||
      {% for field in eva_fields %}
 | 
			
		||||
        {{ field }}
 | 
			
		||||
      {% endfor %}
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
@ -0,0 +1 @@
 | 
			
		||||
<!-- Add you custom twig html here -->
 | 
			
		||||
@ -0,0 +1,28 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - facets.facet.involved_parties
 | 
			
		||||
  module:
 | 
			
		||||
    - facets
 | 
			
		||||
    - system
 | 
			
		||||
  theme:
 | 
			
		||||
    - bartik
 | 
			
		||||
id: involvedparties
 | 
			
		||||
theme: bartik
 | 
			
		||||
region: sidebar_second
 | 
			
		||||
weight: 0
 | 
			
		||||
provider: null
 | 
			
		||||
plugin: 'facet_block:involved_parties'
 | 
			
		||||
settings:
 | 
			
		||||
  id: 'facet_block:involved_parties'
 | 
			
		||||
  label: 'Involved Parties'
 | 
			
		||||
  provider: facets
 | 
			
		||||
  label_display: visible
 | 
			
		||||
  block_id: involvedparties
 | 
			
		||||
visibility:
 | 
			
		||||
  request_path:
 | 
			
		||||
    id: request_path
 | 
			
		||||
    pages: /opencase/reporting/cases
 | 
			
		||||
    negate: false
 | 
			
		||||
    context_mapping: {  }
 | 
			
		||||
@ -2,27 +2,27 @@ langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - facets.facet.nationality
 | 
			
		||||
    - facets.facet.nationalities
 | 
			
		||||
  module:
 | 
			
		||||
    - facets
 | 
			
		||||
    - system
 | 
			
		||||
  theme:
 | 
			
		||||
    - bartik
 | 
			
		||||
id: facet_nationality
 | 
			
		||||
id: nationalities
 | 
			
		||||
theme: bartik
 | 
			
		||||
region: sidebar_second
 | 
			
		||||
weight: 0
 | 
			
		||||
provider: null
 | 
			
		||||
plugin: 'facet_block:nationality'
 | 
			
		||||
plugin: 'facet_block:nationalities'
 | 
			
		||||
settings:
 | 
			
		||||
  id: 'facet_block:nationality'
 | 
			
		||||
  label: 'Nationality'
 | 
			
		||||
  id: 'facet_block:nationalities'
 | 
			
		||||
  label: Nationalities
 | 
			
		||||
  provider: facets
 | 
			
		||||
  label_display: visible
 | 
			
		||||
  block_id: facet_nationality
 | 
			
		||||
  block_id: nationalities
 | 
			
		||||
visibility:
 | 
			
		||||
  request_path:
 | 
			
		||||
    id: request_path
 | 
			
		||||
    pages: '/opencase/reporting/clients'
 | 
			
		||||
    pages: /opencase/reporting/clients
 | 
			
		||||
    negate: false
 | 
			
		||||
    context_mapping: {  }
 | 
			
		||||
@ -23,6 +23,6 @@ settings:
 | 
			
		||||
visibility:
 | 
			
		||||
  request_path:
 | 
			
		||||
    id: request_path
 | 
			
		||||
    pages: '/opencase/reporting/*'
 | 
			
		||||
    pages: /opencase/reporting/volunteers
 | 
			
		||||
    negate: false
 | 
			
		||||
    context_mapping: {  }
 | 
			
		||||
@ -0,0 +1,29 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - facets.facet.outcome
 | 
			
		||||
  module:
 | 
			
		||||
    - facets
 | 
			
		||||
    - system
 | 
			
		||||
  theme:
 | 
			
		||||
    - bartik
 | 
			
		||||
id: outcome
 | 
			
		||||
theme: bartik
 | 
			
		||||
region: sidebar_second
 | 
			
		||||
weight: 0
 | 
			
		||||
provider: null
 | 
			
		||||
plugin: 'facet_block:outcome'
 | 
			
		||||
settings:
 | 
			
		||||
  id: 'facet_block:outcome'
 | 
			
		||||
  label: Outcome
 | 
			
		||||
  provider: facets
 | 
			
		||||
  label_display: visible
 | 
			
		||||
  block_id: outcome
 | 
			
		||||
visibility:
 | 
			
		||||
  request_path:
 | 
			
		||||
    id: request_path
 | 
			
		||||
    pages: /opencase/reporting/cases
 | 
			
		||||
    negate: false
 | 
			
		||||
    context_mapping: {  }
 | 
			
		||||
 | 
			
		||||
@ -10,7 +10,7 @@ id: asylum_status
 | 
			
		||||
name: 'Asylum status'
 | 
			
		||||
url_alias: asylum_status
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 1
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: field_asylum_status
 | 
			
		||||
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
 | 
			
		||||
@ -10,7 +10,7 @@ id: asylum_status_export
 | 
			
		||||
name: 'Asylum status'
 | 
			
		||||
url_alias: asylum_status
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 1
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: field_asylum_status
 | 
			
		||||
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
 | 
			
		||||
@ -10,7 +10,7 @@ id: created
 | 
			
		||||
name: Created
 | 
			
		||||
url_alias: created
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 1
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: created
 | 
			
		||||
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
 | 
			
		||||
@ -9,7 +9,7 @@ id: created_export
 | 
			
		||||
name: 'Created - Export'
 | 
			
		||||
url_alias: created
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 1
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: created
 | 
			
		||||
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
 | 
			
		||||
@ -10,7 +10,7 @@ id: disability
 | 
			
		||||
name: 'Disability'
 | 
			
		||||
url_alias: disability
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 1
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: field_disability
 | 
			
		||||
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
 | 
			
		||||
@ -10,7 +10,7 @@ id: disability_export
 | 
			
		||||
name: 'Disability'
 | 
			
		||||
url_alias: disability
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 1
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: field_disability
 | 
			
		||||
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
 | 
			
		||||
@ -10,7 +10,7 @@ id: gender_identified_with
 | 
			
		||||
name: 'Gender Identity'
 | 
			
		||||
url_alias: gender_identified_with
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 1
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: field_gender_identified_with
 | 
			
		||||
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
 | 
			
		||||
@ -10,7 +10,7 @@ id: gender_identified_with_export
 | 
			
		||||
name: 'Gender Identity'
 | 
			
		||||
url_alias: gender_identified_with
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 1
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: field_gender_identified_with
 | 
			
		||||
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
 | 
			
		||||
@ -0,0 +1,62 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - search_api.index.opencase_reporting_cases
 | 
			
		||||
    - views.view.reporting_cases
 | 
			
		||||
  module:
 | 
			
		||||
    - search_api
 | 
			
		||||
id: involved_parties
 | 
			
		||||
name: 'Involved Parties'
 | 
			
		||||
url_alias: involved_parties
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: actors_involved
 | 
			
		||||
facet_source_id: 'search_api:views_page__reporting_cases__page_1'
 | 
			
		||||
widget:
 | 
			
		||||
  type: checkbox
 | 
			
		||||
  config:
 | 
			
		||||
    show_numbers: false
 | 
			
		||||
    soft_limit: 0
 | 
			
		||||
    soft_limit_settings:
 | 
			
		||||
      show_less_label: 'Show less'
 | 
			
		||||
      show_more_label: 'Show more'
 | 
			
		||||
    show_reset_link: false
 | 
			
		||||
    reset_text: 'Show all'
 | 
			
		||||
    hide_reset_when_no_selection: false
 | 
			
		||||
query_operator: or
 | 
			
		||||
use_hierarchy: false
 | 
			
		||||
expand_hierarchy: false
 | 
			
		||||
enable_parent_when_child_gets_disabled: true
 | 
			
		||||
hard_limit: 0
 | 
			
		||||
exclude: false
 | 
			
		||||
only_visible_when_facet_source_is_visible: true
 | 
			
		||||
processor_configs:
 | 
			
		||||
  display_value_widget_order:
 | 
			
		||||
    processor_id: display_value_widget_order
 | 
			
		||||
    weights:
 | 
			
		||||
      sort: 40
 | 
			
		||||
    settings:
 | 
			
		||||
      sort: ASC
 | 
			
		||||
  exclude_specified_items:
 | 
			
		||||
    processor_id: exclude_specified_items
 | 
			
		||||
    weights:
 | 
			
		||||
      build: 50
 | 
			
		||||
    settings:
 | 
			
		||||
      exclude: client
 | 
			
		||||
      regex: true
 | 
			
		||||
  translate_entity:
 | 
			
		||||
    processor_id: translate_entity
 | 
			
		||||
    weights:
 | 
			
		||||
      build: 5
 | 
			
		||||
    settings: {  }
 | 
			
		||||
  url_processor_handler:
 | 
			
		||||
    processor_id: url_processor_handler
 | 
			
		||||
    weights:
 | 
			
		||||
      pre_query: 50
 | 
			
		||||
      build: 15
 | 
			
		||||
    settings: {  }
 | 
			
		||||
empty_behavior:
 | 
			
		||||
  behavior: none
 | 
			
		||||
show_title: false
 | 
			
		||||
@ -0,0 +1,55 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - search_api.index.opencase_reporting_cases
 | 
			
		||||
    - views.view.reporting_cases
 | 
			
		||||
  module:
 | 
			
		||||
    - search_api
 | 
			
		||||
id: involved_parties_export
 | 
			
		||||
name: 'Involved Parties (Export)'
 | 
			
		||||
url_alias: involved_parties
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: actors_involved
 | 
			
		||||
facet_source_id: 'search_api:views_data_export__reporting_cases__data_export_1'
 | 
			
		||||
widget:
 | 
			
		||||
  type: checkbox
 | 
			
		||||
  config:
 | 
			
		||||
    show_numbers: false
 | 
			
		||||
    soft_limit: 0
 | 
			
		||||
    soft_limit_settings:
 | 
			
		||||
      show_less_label: 'Show less'
 | 
			
		||||
      show_more_label: 'Show more'
 | 
			
		||||
    show_reset_link: false
 | 
			
		||||
    reset_text: 'Show all'
 | 
			
		||||
    hide_reset_when_no_selection: false
 | 
			
		||||
query_operator: or
 | 
			
		||||
use_hierarchy: false
 | 
			
		||||
expand_hierarchy: false
 | 
			
		||||
enable_parent_when_child_gets_disabled: true
 | 
			
		||||
hard_limit: 0
 | 
			
		||||
exclude: false
 | 
			
		||||
only_visible_when_facet_source_is_visible: true
 | 
			
		||||
processor_configs:
 | 
			
		||||
  display_value_widget_order:
 | 
			
		||||
    processor_id: display_value_widget_order
 | 
			
		||||
    weights:
 | 
			
		||||
      sort: 40
 | 
			
		||||
    settings:
 | 
			
		||||
      sort: ASC
 | 
			
		||||
  translate_entity:
 | 
			
		||||
    processor_id: translate_entity
 | 
			
		||||
    weights:
 | 
			
		||||
      build: 5
 | 
			
		||||
    settings: {  }
 | 
			
		||||
  url_processor_handler:
 | 
			
		||||
    processor_id: url_processor_handler
 | 
			
		||||
    weights:
 | 
			
		||||
      pre_query: 50
 | 
			
		||||
      build: 15
 | 
			
		||||
    settings: {  }
 | 
			
		||||
empty_behavior:
 | 
			
		||||
  behavior: none
 | 
			
		||||
show_title: false
 | 
			
		||||
@ -10,7 +10,7 @@ id: languages
 | 
			
		||||
name: 'Languages'
 | 
			
		||||
url_alias: languages
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 1
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: field_languages_spoken
 | 
			
		||||
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
 | 
			
		||||
@ -10,7 +10,7 @@ id: languages_export
 | 
			
		||||
name: 'Languages'
 | 
			
		||||
url_alias: languages
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 1
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: field_languages_spoken
 | 
			
		||||
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
 | 
			
		||||
@ -6,13 +6,13 @@ dependencies:
 | 
			
		||||
    - views.view.reporting_clients
 | 
			
		||||
  module:
 | 
			
		||||
    - search_api
 | 
			
		||||
id: nationality
 | 
			
		||||
name: 'Nationality'
 | 
			
		||||
url_alias: nationality
 | 
			
		||||
id: nationalities
 | 
			
		||||
name: Nationalities
 | 
			
		||||
url_alias: nationalities
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 1
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: field_nationality
 | 
			
		||||
field_identifier: field_nationalities
 | 
			
		||||
facet_source_id: 'search_api:views_page__reporting_clients__page_1'
 | 
			
		||||
widget:
 | 
			
		||||
  type: checkbox
 | 
			
		||||
@ -3,19 +3,18 @@ status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - search_api.index.opencase_reporting_clients
 | 
			
		||||
    - views.view.reporting_clients
 | 
			
		||||
  module:
 | 
			
		||||
    - search_api
 | 
			
		||||
id: nationality_export
 | 
			
		||||
name: 'Nationality'
 | 
			
		||||
url_alias: nationality
 | 
			
		||||
    - views_data_export
 | 
			
		||||
id: nationalities_export
 | 
			
		||||
name: Nationalities-export
 | 
			
		||||
url_alias: nationalities_export
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 1
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: field_nationality
 | 
			
		||||
field_identifier: field_nationalities
 | 
			
		||||
facet_source_id: 'search_api:views_data_export__reporting_clients__data_export_1'
 | 
			
		||||
widget:
 | 
			
		||||
  type: checkbox
 | 
			
		||||
  type: links
 | 
			
		||||
  config:
 | 
			
		||||
    show_numbers: false
 | 
			
		||||
    soft_limit: 0
 | 
			
		||||
@ -30,6 +29,18 @@ hard_limit: 0
 | 
			
		||||
exclude: false
 | 
			
		||||
only_visible_when_facet_source_is_visible: true
 | 
			
		||||
processor_configs:
 | 
			
		||||
  active_widget_order:
 | 
			
		||||
    processor_id: active_widget_order
 | 
			
		||||
    weights:
 | 
			
		||||
      sort: 20
 | 
			
		||||
    settings:
 | 
			
		||||
      sort: DESC
 | 
			
		||||
  count_widget_order:
 | 
			
		||||
    processor_id: count_widget_order
 | 
			
		||||
    weights:
 | 
			
		||||
      sort: 30
 | 
			
		||||
    settings:
 | 
			
		||||
      sort: DESC
 | 
			
		||||
  display_value_widget_order:
 | 
			
		||||
    processor_id: display_value_widget_order
 | 
			
		||||
    weights:
 | 
			
		||||
@ -10,7 +10,7 @@ id: osic_level
 | 
			
		||||
name: 'OSIC level'
 | 
			
		||||
url_alias: osic_level
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 1
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: field_osic_level
 | 
			
		||||
facet_source_id: 'search_api:views_page__reporting_volunteers__page_1'
 | 
			
		||||
@ -3,11 +3,10 @@ status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - search_api.index.opencase_reporting_volunteers
 | 
			
		||||
    - views.view.reporting_volunteers
 | 
			
		||||
  module:
 | 
			
		||||
    - search_api
 | 
			
		||||
    - views_data_export
 | 
			
		||||
id: osic_level_export
 | 
			
		||||
name: 'OSIC level (Export)'
 | 
			
		||||
name: 'OSIC level Export'
 | 
			
		||||
url_alias: osic_level
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 1
 | 
			
		||||
@ -15,7 +14,7 @@ show_only_one_result: false
 | 
			
		||||
field_identifier: field_osic_level
 | 
			
		||||
facet_source_id: 'search_api:views_data_export__reporting_volunteers__data_export_1'
 | 
			
		||||
widget:
 | 
			
		||||
  type: checkbox
 | 
			
		||||
  type: links
 | 
			
		||||
  config:
 | 
			
		||||
    show_numbers: false
 | 
			
		||||
    soft_limit: 0
 | 
			
		||||
@ -30,6 +29,18 @@ hard_limit: 0
 | 
			
		||||
exclude: false
 | 
			
		||||
only_visible_when_facet_source_is_visible: true
 | 
			
		||||
processor_configs:
 | 
			
		||||
  active_widget_order:
 | 
			
		||||
    processor_id: active_widget_order
 | 
			
		||||
    weights:
 | 
			
		||||
      sort: 20
 | 
			
		||||
    settings:
 | 
			
		||||
      sort: DESC
 | 
			
		||||
  count_widget_order:
 | 
			
		||||
    processor_id: count_widget_order
 | 
			
		||||
    weights:
 | 
			
		||||
      sort: 30
 | 
			
		||||
    settings:
 | 
			
		||||
      sort: DESC
 | 
			
		||||
  display_value_widget_order:
 | 
			
		||||
    processor_id: display_value_widget_order
 | 
			
		||||
    weights:
 | 
			
		||||
@ -0,0 +1,52 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - search_api.index.opencase_reporting_cases
 | 
			
		||||
    - views.view.reporting_cases
 | 
			
		||||
  module:
 | 
			
		||||
    - search_api
 | 
			
		||||
id: outcome
 | 
			
		||||
name: Outcome
 | 
			
		||||
url_alias: outcome
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: field_outcome
 | 
			
		||||
facet_source_id: 'search_api:views_page__reporting_cases__page_1'
 | 
			
		||||
widget:
 | 
			
		||||
  type: checkbox
 | 
			
		||||
  config:
 | 
			
		||||
    show_numbers: true
 | 
			
		||||
    soft_limit: 0
 | 
			
		||||
    soft_limit_settings:
 | 
			
		||||
      show_less_label: 'Show less'
 | 
			
		||||
      show_more_label: 'Show more'
 | 
			
		||||
    show_reset_link: false
 | 
			
		||||
    reset_text: 'Show all'
 | 
			
		||||
    hide_reset_when_no_selection: false
 | 
			
		||||
query_operator: or
 | 
			
		||||
use_hierarchy: false
 | 
			
		||||
expand_hierarchy: false
 | 
			
		||||
enable_parent_when_child_gets_disabled: true
 | 
			
		||||
hard_limit: 0
 | 
			
		||||
exclude: false
 | 
			
		||||
only_visible_when_facet_source_is_visible: false
 | 
			
		||||
processor_configs:
 | 
			
		||||
  display_value_widget_order:
 | 
			
		||||
    processor_id: display_value_widget_order
 | 
			
		||||
    weights:
 | 
			
		||||
      sort: 40
 | 
			
		||||
    settings:
 | 
			
		||||
      sort: ASC
 | 
			
		||||
  url_processor_handler:
 | 
			
		||||
    processor_id: url_processor_handler
 | 
			
		||||
    weights:
 | 
			
		||||
      pre_query: 50
 | 
			
		||||
      build: 15
 | 
			
		||||
    settings: {  }
 | 
			
		||||
empty_behavior:
 | 
			
		||||
  behavior: text
 | 
			
		||||
  text_format: plain_text
 | 
			
		||||
  text: ''
 | 
			
		||||
show_title: false
 | 
			
		||||
@ -0,0 +1,52 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - search_api.index.opencase_reporting_cases
 | 
			
		||||
    - views.view.reporting_cases
 | 
			
		||||
  module:
 | 
			
		||||
    - search_api
 | 
			
		||||
id: outcome_export
 | 
			
		||||
name: Outcome (Export)
 | 
			
		||||
url_alias: outcome
 | 
			
		||||
weight: 0
 | 
			
		||||
min_count: 0
 | 
			
		||||
show_only_one_result: false
 | 
			
		||||
field_identifier: field_outcome
 | 
			
		||||
facet_source_id: 'search_api:views_data_export__reporting_cases__data_export_1'
 | 
			
		||||
widget:
 | 
			
		||||
  type: checkbox
 | 
			
		||||
  config:
 | 
			
		||||
    show_numbers: true
 | 
			
		||||
    soft_limit: 0
 | 
			
		||||
    soft_limit_settings:
 | 
			
		||||
      show_less_label: 'Show less'
 | 
			
		||||
      show_more_label: 'Show more'
 | 
			
		||||
    show_reset_link: false
 | 
			
		||||
    reset_text: 'Show all'
 | 
			
		||||
    hide_reset_when_no_selection: false
 | 
			
		||||
query_operator: or
 | 
			
		||||
use_hierarchy: false
 | 
			
		||||
expand_hierarchy: false
 | 
			
		||||
enable_parent_when_child_gets_disabled: true
 | 
			
		||||
hard_limit: 0
 | 
			
		||||
exclude: false
 | 
			
		||||
only_visible_when_facet_source_is_visible: false
 | 
			
		||||
processor_configs:
 | 
			
		||||
  display_value_widget_order:
 | 
			
		||||
    processor_id: display_value_widget_order
 | 
			
		||||
    weights:
 | 
			
		||||
      sort: 40
 | 
			
		||||
    settings:
 | 
			
		||||
      sort: ASC
 | 
			
		||||
  url_processor_handler:
 | 
			
		||||
    processor_id: url_processor_handler
 | 
			
		||||
    weights:
 | 
			
		||||
      pre_query: 50
 | 
			
		||||
      build: 15
 | 
			
		||||
    settings: {  }
 | 
			
		||||
empty_behavior:
 | 
			
		||||
  behavior: text
 | 
			
		||||
  text_format: plain_text
 | 
			
		||||
  text: ''
 | 
			
		||||
show_title: false
 | 
			
		||||
@ -6,7 +6,7 @@ dependencies:
 | 
			
		||||
    - field.storage.oc_actor.field_disability
 | 
			
		||||
    - field.storage.oc_actor.field_gender_identified_with
 | 
			
		||||
    - field.storage.oc_actor.field_languages_spoken
 | 
			
		||||
    - field.storage.oc_actor.field_nationality
 | 
			
		||||
    - field.storage.oc_actor.field_nationalities
 | 
			
		||||
    - search_api.server.opencase_reporting_server
 | 
			
		||||
  module:
 | 
			
		||||
    - opencase_entities
 | 
			
		||||
@ -56,14 +56,38 @@ field_settings:
 | 
			
		||||
    dependencies:
 | 
			
		||||
      config:
 | 
			
		||||
        - field.storage.oc_actor.field_languages_spoken
 | 
			
		||||
  field_nationality:
 | 
			
		||||
  field_nationalities:
 | 
			
		||||
    label: Nationality
 | 
			
		||||
    datasource_id: 'entity:oc_actor'
 | 
			
		||||
    property_path: field_nationality
 | 
			
		||||
    property_path: field_nationalities
 | 
			
		||||
    type: string
 | 
			
		||||
    dependencies:
 | 
			
		||||
      config:
 | 
			
		||||
        - field.storage.oc_actor.field_nationality
 | 
			
		||||
        - field.storage.oc_actor.field_nationalities
 | 
			
		||||
  first_name:
 | 
			
		||||
    label: 'First Name'
 | 
			
		||||
    datasource_id: 'entity:oc_actor'
 | 
			
		||||
    property_path: first_name
 | 
			
		||||
    type: string
 | 
			
		||||
    dependencies:
 | 
			
		||||
      module:
 | 
			
		||||
        - opencase_entities
 | 
			
		||||
  last_name:
 | 
			
		||||
    label: 'Last Name'
 | 
			
		||||
    datasource_id: 'entity:oc_actor'
 | 
			
		||||
    property_path: last_name
 | 
			
		||||
    type: string
 | 
			
		||||
    dependencies:
 | 
			
		||||
      module:
 | 
			
		||||
        - opencase_entities
 | 
			
		||||
  post_code:
 | 
			
		||||
    label: 'Post Code'
 | 
			
		||||
    datasource_id: 'entity:oc_actor'
 | 
			
		||||
    property_path: post_code
 | 
			
		||||
    type: string
 | 
			
		||||
    dependencies:
 | 
			
		||||
      module:
 | 
			
		||||
        - opencase_entities
 | 
			
		||||
datasource_settings:
 | 
			
		||||
  'entity:oc_actor':
 | 
			
		||||
    bundles:
 | 
			
		||||
@ -1,25 +1,26 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.storage.oc_actor.field_languages_spoken
 | 
			
		||||
    - field.storage.oc_actor.field_osic_level
 | 
			
		||||
    - search_api.server.opencase_reporting_server
 | 
			
		||||
  module:
 | 
			
		||||
    - opencase_entities
 | 
			
		||||
    - search_api
 | 
			
		||||
  config:
 | 
			
		||||
    - field.storage.oc_actor.field_osic_level
 | 
			
		||||
    - search_api.server.opencase_reporting_server
 | 
			
		||||
id: opencase_reporting_volunteers
 | 
			
		||||
name: 'OpenCase Reporting: Volunteers'
 | 
			
		||||
description: ''
 | 
			
		||||
read_only: false
 | 
			
		||||
field_settings:
 | 
			
		||||
  created:
 | 
			
		||||
    label: Created
 | 
			
		||||
  field_languages_spoken:
 | 
			
		||||
    label: 'Languages spoken'
 | 
			
		||||
    datasource_id: 'entity:oc_actor'
 | 
			
		||||
    property_path: created
 | 
			
		||||
    type: date
 | 
			
		||||
    property_path: field_languages_spoken
 | 
			
		||||
    type: string
 | 
			
		||||
    dependencies:
 | 
			
		||||
      module:
 | 
			
		||||
        - opencase_entities
 | 
			
		||||
      config:
 | 
			
		||||
        - field.storage.oc_actor.field_languages_spoken
 | 
			
		||||
  field_osic_level:
 | 
			
		||||
    label: 'OSIC level'
 | 
			
		||||
    datasource_id: 'entity:oc_actor'
 | 
			
		||||
@ -28,6 +29,14 @@ field_settings:
 | 
			
		||||
    dependencies:
 | 
			
		||||
      config:
 | 
			
		||||
        - field.storage.oc_actor.field_osic_level
 | 
			
		||||
  name:
 | 
			
		||||
    label: Name
 | 
			
		||||
    datasource_id: 'entity:oc_actor'
 | 
			
		||||
    property_path: name
 | 
			
		||||
    type: string
 | 
			
		||||
    dependencies:
 | 
			
		||||
      module:
 | 
			
		||||
        - opencase_entities
 | 
			
		||||
datasource_settings:
 | 
			
		||||
  'entity:oc_actor':
 | 
			
		||||
    bundles:
 | 
			
		||||
@ -0,0 +1,728 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.storage.oc_actor.field_asylum_status
 | 
			
		||||
    - field.storage.oc_actor.field_marital_
 | 
			
		||||
  module:
 | 
			
		||||
    - opencase_entities
 | 
			
		||||
    - options
 | 
			
		||||
    - user
 | 
			
		||||
id: name_and_status_changes
 | 
			
		||||
label: 'Name and Status Changes'
 | 
			
		||||
module: views
 | 
			
		||||
description: ''
 | 
			
		||||
tag: ''
 | 
			
		||||
base_table: oc_actor_field_revision
 | 
			
		||||
base_field: vid
 | 
			
		||||
display:
 | 
			
		||||
  default:
 | 
			
		||||
    display_plugin: default
 | 
			
		||||
    id: default
 | 
			
		||||
    display_title: Master
 | 
			
		||||
    position: 0
 | 
			
		||||
    display_options:
 | 
			
		||||
      access:
 | 
			
		||||
        type: perm
 | 
			
		||||
        options:
 | 
			
		||||
          perm: 'view published case entities'
 | 
			
		||||
      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: Go
 | 
			
		||||
          reset_button: false
 | 
			
		||||
          reset_button_label: Reset
 | 
			
		||||
          exposed_sorts_label: 'Sort by'
 | 
			
		||||
          expose_sort_order: false
 | 
			
		||||
          sort_asc_label: Asc
 | 
			
		||||
          sort_desc_label: Desc
 | 
			
		||||
      pager:
 | 
			
		||||
        type: none
 | 
			
		||||
        options:
 | 
			
		||||
          offset: 0
 | 
			
		||||
      style:
 | 
			
		||||
        type: table
 | 
			
		||||
        options:
 | 
			
		||||
          grouping:
 | 
			
		||||
            -
 | 
			
		||||
              field: view_oc_actor
 | 
			
		||||
              rendered: true
 | 
			
		||||
              rendered_strip: false
 | 
			
		||||
          row_class: ''
 | 
			
		||||
          default_row_class: true
 | 
			
		||||
          override: true
 | 
			
		||||
          sticky: false
 | 
			
		||||
          caption: ''
 | 
			
		||||
          summary: ''
 | 
			
		||||
          description: ''
 | 
			
		||||
          columns:
 | 
			
		||||
            first_name: first_name
 | 
			
		||||
            middle_names: middle_names
 | 
			
		||||
            last_name: last_name
 | 
			
		||||
            field_asylum_status-revision_id: field_asylum_status-revision_id
 | 
			
		||||
            field_marital_-revision_id: field_marital_-revision_id
 | 
			
		||||
            view_oc_actor: view_oc_actor
 | 
			
		||||
            revision_created: revision_created
 | 
			
		||||
          info:
 | 
			
		||||
            first_name:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            middle_names:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            last_name:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            field_asylum_status-revision_id:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            field_marital_-revision_id:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            view_oc_actor:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            revision_created:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
          default: '-1'
 | 
			
		||||
          empty_table: false
 | 
			
		||||
      row:
 | 
			
		||||
        type: fields
 | 
			
		||||
        options:
 | 
			
		||||
          inline: {  }
 | 
			
		||||
          separator: ''
 | 
			
		||||
          hide_empty: false
 | 
			
		||||
          default_field_elements: true
 | 
			
		||||
      fields:
 | 
			
		||||
        revision_created:
 | 
			
		||||
          id: revision_created
 | 
			
		||||
          table: oc_actor_revision
 | 
			
		||||
          field: revision_created
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: min
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Date changed'
 | 
			
		||||
          exclude: false
 | 
			
		||||
          alter:
 | 
			
		||||
            alter_text: true
 | 
			
		||||
            text: '{{ revision_created | date(''d/m/Y'') }}'
 | 
			
		||||
            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
 | 
			
		||||
          set_precision: false
 | 
			
		||||
          precision: 0
 | 
			
		||||
          decimal: .
 | 
			
		||||
          separator: ''
 | 
			
		||||
          format_plural: 0
 | 
			
		||||
          format_plural_string: !!binary MQNAY291bnQ=
 | 
			
		||||
          prefix: ''
 | 
			
		||||
          suffix: ''
 | 
			
		||||
          click_sort_column: value
 | 
			
		||||
          type: timestamp
 | 
			
		||||
          settings: {  }
 | 
			
		||||
          group_column: value
 | 
			
		||||
          group_columns: {  }
 | 
			
		||||
          group_rows: true
 | 
			
		||||
          delta_limit: 0
 | 
			
		||||
          delta_offset: 0
 | 
			
		||||
          delta_reversed: false
 | 
			
		||||
          delta_first_last: false
 | 
			
		||||
          multi_type: separator
 | 
			
		||||
          field_api_classes: false
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: revision_created
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        first_name:
 | 
			
		||||
          id: first_name
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: first_name
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'First Name'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: first_name
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        middle_names:
 | 
			
		||||
          id: middle_names
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: middle_names
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Middle Names'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: middle_names
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        last_name:
 | 
			
		||||
          id: last_name
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: last_name
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Last Name'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: last_name
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        field_asylum_status-revision_id:
 | 
			
		||||
          id: field_asylum_status-revision_id
 | 
			
		||||
          table: oc_actor_revision__field_asylum_status
 | 
			
		||||
          field: field_asylum_status-revision_id
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Asylum status'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: list_default
 | 
			
		||||
          settings: {  }
 | 
			
		||||
          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
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        field_marital_-revision_id:
 | 
			
		||||
          id: field_marital_-revision_id
 | 
			
		||||
          table: oc_actor_revision__field_marital_
 | 
			
		||||
          field: field_marital_-revision_id
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Marital status'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: list_default
 | 
			
		||||
          settings: {  }
 | 
			
		||||
          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
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        view_oc_actor:
 | 
			
		||||
          id: view_oc_actor
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: view_oc_actor
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: ''
 | 
			
		||||
          exclude: true
 | 
			
		||||
          alter:
 | 
			
		||||
            alter_text: true
 | 
			
		||||
            text: 'View current record for this person ▼'
 | 
			
		||||
            make_link: true
 | 
			
		||||
            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: false
 | 
			
		||||
          element_wrapper_type: ''
 | 
			
		||||
          element_wrapper_class: ''
 | 
			
		||||
          element_default_classes: true
 | 
			
		||||
          empty: ''
 | 
			
		||||
          hide_empty: false
 | 
			
		||||
          empty_zero: false
 | 
			
		||||
          hide_alter_empty: true
 | 
			
		||||
          text: 'See "rewrite results" (had to do it that way because contains HTML).'
 | 
			
		||||
          output_url_as_text: false
 | 
			
		||||
          absolute: false
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          plugin_id: entity_link
 | 
			
		||||
      filters:
 | 
			
		||||
        first_name:
 | 
			
		||||
          id: first_name
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: first_name
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          operator: starts
 | 
			
		||||
          value: ''
 | 
			
		||||
          group: 1
 | 
			
		||||
          exposed: true
 | 
			
		||||
          expose:
 | 
			
		||||
            operator_id: first_name_op
 | 
			
		||||
            label: 'First Name'
 | 
			
		||||
            description: ''
 | 
			
		||||
            use_operator: false
 | 
			
		||||
            operator: first_name_op
 | 
			
		||||
            operator_limit_selection: false
 | 
			
		||||
            operator_list: {  }
 | 
			
		||||
            identifier: first_name
 | 
			
		||||
            required: false
 | 
			
		||||
            remember: false
 | 
			
		||||
            multiple: false
 | 
			
		||||
            remember_roles:
 | 
			
		||||
              authenticated: authenticated
 | 
			
		||||
              anonymous: '0'
 | 
			
		||||
              administrator: '0'
 | 
			
		||||
              overseer: '0'
 | 
			
		||||
              caseworker: '0'
 | 
			
		||||
              volunteer_co_ord: '0'
 | 
			
		||||
              opencase_admin: '0'
 | 
			
		||||
            placeholder: ''
 | 
			
		||||
          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: oc_actor
 | 
			
		||||
          entity_field: first_name
 | 
			
		||||
          plugin_id: string
 | 
			
		||||
        last_name:
 | 
			
		||||
          id: last_name
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: last_name
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          operator: starts
 | 
			
		||||
          value: ''
 | 
			
		||||
          group: 1
 | 
			
		||||
          exposed: true
 | 
			
		||||
          expose:
 | 
			
		||||
            operator_id: last_name_op
 | 
			
		||||
            label: 'Last Name'
 | 
			
		||||
            description: ''
 | 
			
		||||
            use_operator: false
 | 
			
		||||
            operator: last_name_op
 | 
			
		||||
            operator_limit_selection: false
 | 
			
		||||
            operator_list: {  }
 | 
			
		||||
            identifier: last_name
 | 
			
		||||
            required: false
 | 
			
		||||
            remember: false
 | 
			
		||||
            multiple: false
 | 
			
		||||
            remember_roles:
 | 
			
		||||
              authenticated: authenticated
 | 
			
		||||
              anonymous: '0'
 | 
			
		||||
              administrator: '0'
 | 
			
		||||
              overseer: '0'
 | 
			
		||||
              caseworker: '0'
 | 
			
		||||
              volunteer_co_ord: '0'
 | 
			
		||||
              opencase_admin: '0'
 | 
			
		||||
            placeholder: ''
 | 
			
		||||
          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: oc_actor
 | 
			
		||||
          entity_field: last_name
 | 
			
		||||
          plugin_id: string
 | 
			
		||||
      sorts:
 | 
			
		||||
        revision_created:
 | 
			
		||||
          id: revision_created
 | 
			
		||||
          table: oc_actor_revision
 | 
			
		||||
          field: revision_created
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: min
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          order: ASC
 | 
			
		||||
          exposed: false
 | 
			
		||||
          expose:
 | 
			
		||||
            label: ''
 | 
			
		||||
          granularity: second
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: revision_created
 | 
			
		||||
          plugin_id: date
 | 
			
		||||
      header: {  }
 | 
			
		||||
      footer: {  }
 | 
			
		||||
      empty: {  }
 | 
			
		||||
      relationships: {  }
 | 
			
		||||
      arguments: {  }
 | 
			
		||||
      display_extenders: {  }
 | 
			
		||||
      group_by: true
 | 
			
		||||
      use_ajax: true
 | 
			
		||||
      title: 'Name, Asylum and Marital Status Report'
 | 
			
		||||
    cache_metadata:
 | 
			
		||||
      max-age: -1
 | 
			
		||||
      contexts:
 | 
			
		||||
        - 'languages:language_content'
 | 
			
		||||
        - 'languages:language_interface'
 | 
			
		||||
        - url
 | 
			
		||||
        - user.permissions
 | 
			
		||||
      tags:
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_asylum_status'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_marital_'
 | 
			
		||||
  page_1:
 | 
			
		||||
    display_plugin: page
 | 
			
		||||
    id: page_1
 | 
			
		||||
    display_title: Page
 | 
			
		||||
    position: 1
 | 
			
		||||
    display_options:
 | 
			
		||||
      path: opencase/reporting/name_and_status_changes
 | 
			
		||||
      display_extenders:
 | 
			
		||||
        library_in_views_display_extender: {  }
 | 
			
		||||
    cache_metadata:
 | 
			
		||||
      max-age: -1
 | 
			
		||||
      contexts:
 | 
			
		||||
        - 'languages:language_content'
 | 
			
		||||
        - 'languages:language_interface'
 | 
			
		||||
        - url
 | 
			
		||||
        - user.permissions
 | 
			
		||||
      tags:
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_asylum_status'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_marital_'
 | 
			
		||||
@ -2,11 +2,8 @@ langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.storage.oc_actor.field_languages_spoken
 | 
			
		||||
    - field.storage.oc_actor.field_osic_level
 | 
			
		||||
    - search_api.index.opencase_reporting_volunteers
 | 
			
		||||
  content:
 | 
			
		||||
    - 'block_content:basic:944ff38d-5931-4439-91d5-f53b5ad7aac7'
 | 
			
		||||
    - field.storage.oc_case.field_outcome
 | 
			
		||||
    - search_api.index.opencase_reporting_cases
 | 
			
		||||
  module:
 | 
			
		||||
    - csv_serialization
 | 
			
		||||
    - options
 | 
			
		||||
@ -15,12 +12,12 @@ dependencies:
 | 
			
		||||
    - serialization
 | 
			
		||||
    - user
 | 
			
		||||
    - views_data_export
 | 
			
		||||
id: reporting_volunteers
 | 
			
		||||
label: 'Reporting: Volunteers'
 | 
			
		||||
id: reporting_cases
 | 
			
		||||
label: 'Reporting: Cases'
 | 
			
		||||
module: views
 | 
			
		||||
description: ''
 | 
			
		||||
tag: ''
 | 
			
		||||
base_table: search_api_index_opencase_reporting_volunteers
 | 
			
		||||
base_table: search_api_index_opencase_reporting_cases
 | 
			
		||||
base_field: search_api_id
 | 
			
		||||
core: 8.x
 | 
			
		||||
display:
 | 
			
		||||
@ -35,13 +32,14 @@ display:
 | 
			
		||||
        options:
 | 
			
		||||
          perm: 'use opencase'
 | 
			
		||||
      cache:
 | 
			
		||||
        type: tag
 | 
			
		||||
        type: none
 | 
			
		||||
        options: {  }
 | 
			
		||||
      query:
 | 
			
		||||
        type: views_query
 | 
			
		||||
        options:
 | 
			
		||||
          bypass_access: false
 | 
			
		||||
          skip_access: false
 | 
			
		||||
          preserve_facet_query_args: false
 | 
			
		||||
      exposed_form:
 | 
			
		||||
        type: basic
 | 
			
		||||
        options:
 | 
			
		||||
@ -55,7 +53,7 @@ display:
 | 
			
		||||
      pager:
 | 
			
		||||
        type: mini
 | 
			
		||||
        options:
 | 
			
		||||
          items_per_page: 10
 | 
			
		||||
          items_per_page: 20
 | 
			
		||||
          offset: 0
 | 
			
		||||
          id: 0
 | 
			
		||||
          total_pages: null
 | 
			
		||||
@ -72,17 +70,58 @@ display:
 | 
			
		||||
            next: ››
 | 
			
		||||
      style:
 | 
			
		||||
        type: table
 | 
			
		||||
        options:
 | 
			
		||||
          grouping: {  }
 | 
			
		||||
          row_class: ''
 | 
			
		||||
          default_row_class: true
 | 
			
		||||
          override: true
 | 
			
		||||
          sticky: false
 | 
			
		||||
          caption: ''
 | 
			
		||||
          summary: ''
 | 
			
		||||
          description: ''
 | 
			
		||||
          columns:
 | 
			
		||||
            name: name
 | 
			
		||||
            type: type
 | 
			
		||||
            actors_involved: actors_involved
 | 
			
		||||
            field_outcome: field_outcome
 | 
			
		||||
          info:
 | 
			
		||||
            name:
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            type:
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            actors_involved:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            field_outcome:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
          default: '-1'
 | 
			
		||||
          empty_table: false
 | 
			
		||||
      row:
 | 
			
		||||
        type: fields
 | 
			
		||||
      fields:
 | 
			
		||||
        first_name:
 | 
			
		||||
          id: first_name
 | 
			
		||||
          table: search_api_datasource_opencase_reporting_volunteers_entity_oc_actor
 | 
			
		||||
          field: first_name
 | 
			
		||||
        name:
 | 
			
		||||
          id: name
 | 
			
		||||
          table: search_api_datasource_opencase_reporting_cases_entity_oc_case
 | 
			
		||||
          field: name
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'First Name'
 | 
			
		||||
          label: ''
 | 
			
		||||
          exclude: false
 | 
			
		||||
          alter:
 | 
			
		||||
            alter_text: false
 | 
			
		||||
@ -126,7 +165,7 @@ display:
 | 
			
		||||
          click_sort_column: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
            link_to_entity: true
 | 
			
		||||
          group_column: value
 | 
			
		||||
          group_columns: {  }
 | 
			
		||||
          group_rows: true
 | 
			
		||||
@ -144,87 +183,16 @@ display:
 | 
			
		||||
            use_highlighting: false
 | 
			
		||||
            multi_type: separator
 | 
			
		||||
            multi_separator: ', '
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_type: oc_case
 | 
			
		||||
          plugin_id: search_api_field
 | 
			
		||||
        last_name:
 | 
			
		||||
          id: last_name
 | 
			
		||||
          table: search_api_datasource_opencase_reporting_volunteers_entity_oc_actor
 | 
			
		||||
          field: last_name
 | 
			
		||||
        type:
 | 
			
		||||
          id: type
 | 
			
		||||
          table: search_api_datasource_opencase_reporting_cases_entity_oc_case
 | 
			
		||||
          field: type
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Last Name'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          field_rendering: true
 | 
			
		||||
          fallback_handler: search_api
 | 
			
		||||
          fallback_options:
 | 
			
		||||
            link_to_item: false
 | 
			
		||||
            use_highlighting: false
 | 
			
		||||
            multi_type: separator
 | 
			
		||||
            multi_separator: ', '
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          plugin_id: search_api_field
 | 
			
		||||
        created:
 | 
			
		||||
          id: created
 | 
			
		||||
          table: search_api_datasource_opencase_reporting_volunteers_entity_oc_actor
 | 
			
		||||
          field: created
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Created Date'
 | 
			
		||||
          label: ''
 | 
			
		||||
          exclude: false
 | 
			
		||||
          alter:
 | 
			
		||||
            alter_text: false
 | 
			
		||||
@ -265,13 +233,11 @@ display:
 | 
			
		||||
          hide_empty: false
 | 
			
		||||
          empty_zero: false
 | 
			
		||||
          hide_alter_empty: true
 | 
			
		||||
          click_sort_column: value
 | 
			
		||||
          type: timestamp
 | 
			
		||||
          click_sort_column: target_id
 | 
			
		||||
          type: entity_reference_label
 | 
			
		||||
          settings:
 | 
			
		||||
            date_format: medium
 | 
			
		||||
            custom_date_format: ''
 | 
			
		||||
            timezone: ''
 | 
			
		||||
          group_column: value
 | 
			
		||||
            link: false
 | 
			
		||||
          group_column: target_id
 | 
			
		||||
          group_columns: {  }
 | 
			
		||||
          group_rows: true
 | 
			
		||||
          delta_limit: 0
 | 
			
		||||
@ -282,96 +248,28 @@ display:
 | 
			
		||||
          separator: ', '
 | 
			
		||||
          field_api_classes: false
 | 
			
		||||
          field_rendering: true
 | 
			
		||||
          fallback_handler: search_api_date
 | 
			
		||||
          fallback_handler: search_api_entity
 | 
			
		||||
          fallback_options:
 | 
			
		||||
            date_format: fallback
 | 
			
		||||
            custom_date_format: ''
 | 
			
		||||
            timezone: ''
 | 
			
		||||
            link_to_item: false
 | 
			
		||||
            use_highlighting: false
 | 
			
		||||
            multi_type: separator
 | 
			
		||||
            multi_separator: ', '
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
            display_methods:
 | 
			
		||||
              oc_case_type:
 | 
			
		||||
                display_method: label
 | 
			
		||||
          entity_type: oc_case
 | 
			
		||||
          plugin_id: search_api_field
 | 
			
		||||
        field_osic_level:
 | 
			
		||||
          id: field_osic_level
 | 
			
		||||
          table: search_api_index_opencase_reporting_volunteers
 | 
			
		||||
          field: field_osic_level
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'OSIC Level'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: list_default
 | 
			
		||||
          settings: {  }
 | 
			
		||||
          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
 | 
			
		||||
          field_rendering: true
 | 
			
		||||
          fallback_handler: search_api
 | 
			
		||||
          fallback_options:
 | 
			
		||||
            link_to_item: false
 | 
			
		||||
            use_highlighting: false
 | 
			
		||||
            multi_type: separator
 | 
			
		||||
            multi_separator: ', '
 | 
			
		||||
        actors_involved:
 | 
			
		||||
          table: search_api_index_opencase_reporting_cases
 | 
			
		||||
          field: actors_involved
 | 
			
		||||
          id: actors_involved
 | 
			
		||||
          entity_type: null
 | 
			
		||||
          entity_field: null
 | 
			
		||||
          plugin_id: search_api_field
 | 
			
		||||
        field_languages_spoken:
 | 
			
		||||
          id: field_languages_spoken
 | 
			
		||||
          table: search_api_datasource_opencase_reporting_volunteers_entity_oc_actor
 | 
			
		||||
          field: field_languages_spoken
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: Languages
 | 
			
		||||
          label: ''
 | 
			
		||||
          exclude: false
 | 
			
		||||
          alter:
 | 
			
		||||
            alter_text: false
 | 
			
		||||
@ -412,6 +310,75 @@ display:
 | 
			
		||||
          hide_empty: false
 | 
			
		||||
          empty_zero: false
 | 
			
		||||
          hide_alter_empty: true
 | 
			
		||||
          click_sort_column: target_id
 | 
			
		||||
          type: entity_reference_label
 | 
			
		||||
          settings: {  }
 | 
			
		||||
          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
 | 
			
		||||
          field_rendering: true
 | 
			
		||||
          fallback_handler: search_api_entity
 | 
			
		||||
          fallback_options:
 | 
			
		||||
            link_to_item: false
 | 
			
		||||
            use_highlighting: false
 | 
			
		||||
            multi_type: separator
 | 
			
		||||
            multi_separator: ', '
 | 
			
		||||
            display_methods: {  }
 | 
			
		||||
        field_outcome:
 | 
			
		||||
          id: field_outcome
 | 
			
		||||
          table: search_api_index_opencase_reporting_cases
 | 
			
		||||
          field: field_outcome
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: ''
 | 
			
		||||
          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: false
 | 
			
		||||
          element_wrapper_type: ''
 | 
			
		||||
          element_wrapper_class: ''
 | 
			
		||||
          element_default_classes: true
 | 
			
		||||
          empty: ''
 | 
			
		||||
          hide_empty: false
 | 
			
		||||
          empty_zero: false
 | 
			
		||||
          hide_alter_empty: true
 | 
			
		||||
          click_sort_column: value
 | 
			
		||||
          type: list_default
 | 
			
		||||
          settings: {  }
 | 
			
		||||
@ -432,31 +399,16 @@ display:
 | 
			
		||||
            use_highlighting: false
 | 
			
		||||
            multi_type: separator
 | 
			
		||||
            multi_separator: ', '
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          plugin_id: search_api_field
 | 
			
		||||
      filters: {  }
 | 
			
		||||
      sorts: {  }
 | 
			
		||||
      title: 'Volunteer Report'
 | 
			
		||||
      header:
 | 
			
		||||
        entity_block_content:
 | 
			
		||||
          id: entity_block_content
 | 
			
		||||
          table: views
 | 
			
		||||
          field: entity_block_content
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          empty: false
 | 
			
		||||
          tokenize: true
 | 
			
		||||
          target: 944ff38d-5931-4439-91d5-f53b5ad7aac7
 | 
			
		||||
          view_mode: default
 | 
			
		||||
          bypass_access: false
 | 
			
		||||
          plugin_id: entity
 | 
			
		||||
      title: 'Reporting: Cases'
 | 
			
		||||
      header: {  }
 | 
			
		||||
      footer: {  }
 | 
			
		||||
      empty: {  }
 | 
			
		||||
      relationships: {  }
 | 
			
		||||
      arguments: {  }
 | 
			
		||||
      display_extenders: {  }
 | 
			
		||||
      use_ajax: true
 | 
			
		||||
    cache_metadata:
 | 
			
		||||
      max-age: -1
 | 
			
		||||
      contexts:
 | 
			
		||||
@ -465,8 +417,7 @@ display:
 | 
			
		||||
        - url.query_args
 | 
			
		||||
        - user.permissions
 | 
			
		||||
      tags:
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_languages_spoken'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_osic_level'
 | 
			
		||||
        - 'config:field.storage.oc_case.field_outcome'
 | 
			
		||||
  data_export_1:
 | 
			
		||||
    display_plugin: data_export
 | 
			
		||||
    id: data_export_1
 | 
			
		||||
@ -474,8 +425,11 @@ display:
 | 
			
		||||
    position: 2
 | 
			
		||||
    display_options:
 | 
			
		||||
      display_extenders: {  }
 | 
			
		||||
      path: opencase/reporting/volunteers
 | 
			
		||||
      path: opencase/reporting/cases
 | 
			
		||||
      filename: '[view:title].csv'
 | 
			
		||||
      displays:
 | 
			
		||||
        page_1: page_1
 | 
			
		||||
        default: '0'
 | 
			
		||||
      style:
 | 
			
		||||
        type: data_export
 | 
			
		||||
        options:
 | 
			
		||||
@ -508,8 +462,7 @@ display:
 | 
			
		||||
        - request_format
 | 
			
		||||
        - user.permissions
 | 
			
		||||
      tags:
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_languages_spoken'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_osic_level'
 | 
			
		||||
        - 'config:field.storage.oc_case.field_outcome'
 | 
			
		||||
  page_1:
 | 
			
		||||
    display_plugin: page
 | 
			
		||||
    id: page_1
 | 
			
		||||
@ -517,7 +470,7 @@ display:
 | 
			
		||||
    position: 1
 | 
			
		||||
    display_options:
 | 
			
		||||
      display_extenders: {  }
 | 
			
		||||
      path: opencase/reporting/volunteers
 | 
			
		||||
      path: opencase/reporting/cases
 | 
			
		||||
    cache_metadata:
 | 
			
		||||
      max-age: -1
 | 
			
		||||
      contexts:
 | 
			
		||||
@ -526,5 +479,4 @@ display:
 | 
			
		||||
        - url.query_args
 | 
			
		||||
        - user.permissions
 | 
			
		||||
      tags:
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_languages_spoken'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_osic_level'
 | 
			
		||||
        - 'config:field.storage.oc_case.field_outcome'
 | 
			
		||||
@ -6,11 +6,10 @@ dependencies:
 | 
			
		||||
    - field.storage.oc_actor.field_disability
 | 
			
		||||
    - field.storage.oc_actor.field_gender_identified_with
 | 
			
		||||
    - field.storage.oc_actor.field_languages_spoken
 | 
			
		||||
    - field.storage.oc_actor.field_nationality
 | 
			
		||||
    - field.storage.oc_actor.field_nationalities
 | 
			
		||||
    - search_api.index.opencase_reporting_clients
 | 
			
		||||
  content:
 | 
			
		||||
    - 'block_content:basic:944ff38d-5931-4439-91d5-f53b5ad7aac7'
 | 
			
		||||
  module:
 | 
			
		||||
    - csv_serialization
 | 
			
		||||
    - options
 | 
			
		||||
    - rest
 | 
			
		||||
    - search_api
 | 
			
		||||
@ -57,10 +56,13 @@ display:
 | 
			
		||||
      pager:
 | 
			
		||||
        type: mini
 | 
			
		||||
        options:
 | 
			
		||||
          items_per_page: 10
 | 
			
		||||
          items_per_page: 50
 | 
			
		||||
          offset: 0
 | 
			
		||||
          id: 0
 | 
			
		||||
          total_pages: null
 | 
			
		||||
          tags:
 | 
			
		||||
            previous: ‹‹
 | 
			
		||||
            next: ››
 | 
			
		||||
          expose:
 | 
			
		||||
            items_per_page: false
 | 
			
		||||
            items_per_page_label: 'Items per page'
 | 
			
		||||
@ -69,22 +71,19 @@ display:
 | 
			
		||||
            items_per_page_options_all_label: '- All -'
 | 
			
		||||
            offset: false
 | 
			
		||||
            offset_label: Offset
 | 
			
		||||
          tags:
 | 
			
		||||
            previous: ‹‹
 | 
			
		||||
            next: ››
 | 
			
		||||
      style:
 | 
			
		||||
        type: table
 | 
			
		||||
      row:
 | 
			
		||||
        type: fields
 | 
			
		||||
      fields:
 | 
			
		||||
        first_name:
 | 
			
		||||
          id: first_name
 | 
			
		||||
        name:
 | 
			
		||||
          id: name
 | 
			
		||||
          table: search_api_datasource_opencase_reporting_clients_entity_oc_actor
 | 
			
		||||
          field: first_name
 | 
			
		||||
          field: name
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'First Name'
 | 
			
		||||
          label: Name
 | 
			
		||||
          exclude: false
 | 
			
		||||
          alter:
 | 
			
		||||
            alter_text: false
 | 
			
		||||
@ -128,78 +127,7 @@ display:
 | 
			
		||||
          click_sort_column: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          field_rendering: true
 | 
			
		||||
          fallback_handler: search_api
 | 
			
		||||
          fallback_options:
 | 
			
		||||
            link_to_item: false
 | 
			
		||||
            use_highlighting: false
 | 
			
		||||
            multi_type: separator
 | 
			
		||||
            multi_separator: ', '
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          plugin_id: search_api_field
 | 
			
		||||
        last_name:
 | 
			
		||||
          id: last_name
 | 
			
		||||
          table: search_api_datasource_opencase_reporting_clients_entity_oc_actor
 | 
			
		||||
          field: last_name
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Last Name'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
            link_to_entity: true
 | 
			
		||||
          group_column: value
 | 
			
		||||
          group_columns: {  }
 | 
			
		||||
          group_rows: true
 | 
			
		||||
@ -429,14 +357,14 @@ display:
 | 
			
		||||
            multi_type: separator
 | 
			
		||||
            multi_separator: ', '
 | 
			
		||||
          plugin_id: search_api_field
 | 
			
		||||
        field_languages_spoken:
 | 
			
		||||
          id: field_languages_spoken
 | 
			
		||||
          table: search_api_index_opencase_reporting_clients
 | 
			
		||||
          field: field_languages_spoken
 | 
			
		||||
        field_nationalities:
 | 
			
		||||
          id: field_nationalities
 | 
			
		||||
          table: search_api_datasource_opencase_reporting_clients_entity_oc_actor
 | 
			
		||||
          field: field_nationalities
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: Languages
 | 
			
		||||
          label: Nationality
 | 
			
		||||
          exclude: false
 | 
			
		||||
          alter:
 | 
			
		||||
            alter_text: false
 | 
			
		||||
@ -497,15 +425,16 @@ display:
 | 
			
		||||
            use_highlighting: false
 | 
			
		||||
            multi_type: separator
 | 
			
		||||
            multi_separator: ', '
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          plugin_id: search_api_field
 | 
			
		||||
        field_nationality:
 | 
			
		||||
          id: field_nationality
 | 
			
		||||
        field_languages_spoken:
 | 
			
		||||
          id: field_languages_spoken
 | 
			
		||||
          table: search_api_index_opencase_reporting_clients
 | 
			
		||||
          field: field_nationality
 | 
			
		||||
          field: field_languages_spoken
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: Nationality
 | 
			
		||||
          label: Languages
 | 
			
		||||
          exclude: false
 | 
			
		||||
          alter:
 | 
			
		||||
            alter_text: false
 | 
			
		||||
@ -547,9 +476,8 @@ display:
 | 
			
		||||
          empty_zero: false
 | 
			
		||||
          hide_alter_empty: true
 | 
			
		||||
          click_sort_column: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          type: list_default
 | 
			
		||||
          settings: {  }
 | 
			
		||||
          group_column: value
 | 
			
		||||
          group_columns: {  }
 | 
			
		||||
          group_rows: true
 | 
			
		||||
@ -661,7 +589,6 @@ display:
 | 
			
		||||
      relationships: {  }
 | 
			
		||||
      arguments: {  }
 | 
			
		||||
      display_extenders: {  }
 | 
			
		||||
      use_ajax: true
 | 
			
		||||
    cache_metadata:
 | 
			
		||||
      max-age: -1
 | 
			
		||||
      contexts:
 | 
			
		||||
@ -674,7 +601,7 @@ display:
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_disability'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_gender_identified_with'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_languages_spoken'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_nationality'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_nationalities'
 | 
			
		||||
  data_export_1:
 | 
			
		||||
    display_plugin: data_export
 | 
			
		||||
    id: data_export_1
 | 
			
		||||
@ -684,6 +611,37 @@ display:
 | 
			
		||||
      display_extenders: {  }
 | 
			
		||||
      path: opencase/reporting/clients
 | 
			
		||||
      filename: '[view:title].csv'
 | 
			
		||||
      cache:
 | 
			
		||||
        type: none
 | 
			
		||||
      defaults:
 | 
			
		||||
        cache: false
 | 
			
		||||
      displays:
 | 
			
		||||
        page_1: page_1
 | 
			
		||||
        default: '0'
 | 
			
		||||
      style:
 | 
			
		||||
        type: data_export
 | 
			
		||||
        options:
 | 
			
		||||
          formats:
 | 
			
		||||
            csv: csv
 | 
			
		||||
          csv_settings:
 | 
			
		||||
            delimiter: ','
 | 
			
		||||
            enclosure: '"'
 | 
			
		||||
            escape_char: \
 | 
			
		||||
            strip_tags: true
 | 
			
		||||
            trim: true
 | 
			
		||||
            encoding: utf8
 | 
			
		||||
          xls_settings:
 | 
			
		||||
            xls_format: Excel2007
 | 
			
		||||
            metadata:
 | 
			
		||||
              creator: ''
 | 
			
		||||
              last_modified_by: ''
 | 
			
		||||
              title: ''
 | 
			
		||||
              description: ''
 | 
			
		||||
              subject: ''
 | 
			
		||||
              keywords: ''
 | 
			
		||||
              category: ''
 | 
			
		||||
              manager: ''
 | 
			
		||||
              company: ''
 | 
			
		||||
    cache_metadata:
 | 
			
		||||
      max-age: -1
 | 
			
		||||
      contexts:
 | 
			
		||||
@ -696,7 +654,7 @@ display:
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_disability'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_gender_identified_with'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_languages_spoken'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_nationality'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_nationalities'
 | 
			
		||||
  page_1:
 | 
			
		||||
    display_plugin: page
 | 
			
		||||
    id: page_1
 | 
			
		||||
@ -721,4 +679,4 @@ display:
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_disability'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_gender_identified_with'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_languages_spoken'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_nationality'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_nationalities'
 | 
			
		||||
@ -0,0 +1,395 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.storage.oc_actor.field_languages_spoken
 | 
			
		||||
    - field.storage.oc_actor.field_osic_level
 | 
			
		||||
    - search_api.index.opencase_reporting_volunteers
 | 
			
		||||
  module:
 | 
			
		||||
    - csv_serialization
 | 
			
		||||
    - options
 | 
			
		||||
    - rest
 | 
			
		||||
    - search_api
 | 
			
		||||
    - serialization
 | 
			
		||||
    - user
 | 
			
		||||
    - views_data_export
 | 
			
		||||
id: reporting_volunteers
 | 
			
		||||
label: 'Reporting: Volunteers'
 | 
			
		||||
module: views
 | 
			
		||||
description: ''
 | 
			
		||||
tag: ''
 | 
			
		||||
base_table: search_api_index_opencase_reporting_volunteers
 | 
			
		||||
base_field: search_api_id
 | 
			
		||||
core: 8.x
 | 
			
		||||
display:
 | 
			
		||||
  default:
 | 
			
		||||
    display_plugin: default
 | 
			
		||||
    id: default
 | 
			
		||||
    display_title: Master
 | 
			
		||||
    position: 0
 | 
			
		||||
    display_options:
 | 
			
		||||
      access:
 | 
			
		||||
        type: perm
 | 
			
		||||
        options:
 | 
			
		||||
          perm: 'use opencase'
 | 
			
		||||
      cache:
 | 
			
		||||
        type: tag
 | 
			
		||||
        options: {  }
 | 
			
		||||
      query:
 | 
			
		||||
        type: views_query
 | 
			
		||||
        options:
 | 
			
		||||
          bypass_access: false
 | 
			
		||||
          skip_access: false
 | 
			
		||||
      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: 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
 | 
			
		||||
        options:
 | 
			
		||||
          grouping: {  }
 | 
			
		||||
          row_class: ''
 | 
			
		||||
          default_row_class: true
 | 
			
		||||
          override: true
 | 
			
		||||
          sticky: false
 | 
			
		||||
          caption: ''
 | 
			
		||||
          summary: ''
 | 
			
		||||
          description: ''
 | 
			
		||||
          columns:
 | 
			
		||||
            field_languages_spoken: field_languages_spoken
 | 
			
		||||
          info:
 | 
			
		||||
            field_languages_spoken:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
          default: '-1'
 | 
			
		||||
          empty_table: false
 | 
			
		||||
      row:
 | 
			
		||||
        type: fields
 | 
			
		||||
      fields:
 | 
			
		||||
        name:
 | 
			
		||||
          id: name
 | 
			
		||||
          table: search_api_index_opencase_reporting_volunteers
 | 
			
		||||
          field: name
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: Name
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: true
 | 
			
		||||
          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
 | 
			
		||||
          field_rendering: true
 | 
			
		||||
          fallback_handler: search_api
 | 
			
		||||
          fallback_options:
 | 
			
		||||
            link_to_item: false
 | 
			
		||||
            use_highlighting: false
 | 
			
		||||
            multi_type: separator
 | 
			
		||||
            multi_separator: ', '
 | 
			
		||||
          plugin_id: search_api_field
 | 
			
		||||
        field_languages_spoken_1:
 | 
			
		||||
          id: field_languages_spoken_1
 | 
			
		||||
          table: search_api_index_opencase_reporting_volunteers
 | 
			
		||||
          field: field_languages_spoken
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Languages spoken'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: list_default
 | 
			
		||||
          settings: {  }
 | 
			
		||||
          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
 | 
			
		||||
          field_rendering: true
 | 
			
		||||
          fallback_handler: search_api
 | 
			
		||||
          fallback_options:
 | 
			
		||||
            link_to_item: false
 | 
			
		||||
            use_highlighting: false
 | 
			
		||||
            multi_type: separator
 | 
			
		||||
            multi_separator: ', '
 | 
			
		||||
          plugin_id: search_api_field
 | 
			
		||||
        field_osic_level:
 | 
			
		||||
          id: field_osic_level
 | 
			
		||||
          table: search_api_index_opencase_reporting_volunteers
 | 
			
		||||
          field: field_osic_level
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'OSIC level'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: list_default
 | 
			
		||||
          settings: {  }
 | 
			
		||||
          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
 | 
			
		||||
          field_rendering: true
 | 
			
		||||
          fallback_handler: search_api
 | 
			
		||||
          fallback_options:
 | 
			
		||||
            link_to_item: false
 | 
			
		||||
            use_highlighting: false
 | 
			
		||||
            multi_type: separator
 | 
			
		||||
            multi_separator: ', '
 | 
			
		||||
          plugin_id: search_api_field
 | 
			
		||||
      filters: {  }
 | 
			
		||||
      sorts: {  }
 | 
			
		||||
      title: 'Volunteer Report'
 | 
			
		||||
      header: {  }
 | 
			
		||||
      footer: {  }
 | 
			
		||||
      empty: {  }
 | 
			
		||||
      relationships: {  }
 | 
			
		||||
      arguments: {  }
 | 
			
		||||
      display_extenders: {  }
 | 
			
		||||
    cache_metadata:
 | 
			
		||||
      max-age: -1
 | 
			
		||||
      contexts:
 | 
			
		||||
        - 'languages:language_content'
 | 
			
		||||
        - 'languages:language_interface'
 | 
			
		||||
        - url.query_args
 | 
			
		||||
        - user.permissions
 | 
			
		||||
      tags:
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_languages_spoken'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_osic_level'
 | 
			
		||||
  data_export_1:
 | 
			
		||||
    display_plugin: data_export
 | 
			
		||||
    id: data_export_1
 | 
			
		||||
    display_title: 'Data export'
 | 
			
		||||
    position: 2
 | 
			
		||||
    display_options:
 | 
			
		||||
      display_extenders: {  }
 | 
			
		||||
      path: opencase/reporting/volunteers
 | 
			
		||||
      filename: '[view:title].csv'
 | 
			
		||||
      cache:
 | 
			
		||||
        type: none
 | 
			
		||||
      defaults:
 | 
			
		||||
        cache: false
 | 
			
		||||
      displays:
 | 
			
		||||
        page_1: page_1
 | 
			
		||||
        default: '0'
 | 
			
		||||
      style:
 | 
			
		||||
        type: data_export
 | 
			
		||||
        options:
 | 
			
		||||
          formats:
 | 
			
		||||
            csv: csv
 | 
			
		||||
          csv_settings:
 | 
			
		||||
            delimiter: ','
 | 
			
		||||
            enclosure: '"'
 | 
			
		||||
            escape_char: \
 | 
			
		||||
            strip_tags: true
 | 
			
		||||
            trim: true
 | 
			
		||||
            encoding: utf8
 | 
			
		||||
          xls_settings:
 | 
			
		||||
            xls_format: Excel2007
 | 
			
		||||
            metadata:
 | 
			
		||||
              creator: ''
 | 
			
		||||
              last_modified_by: ''
 | 
			
		||||
              title: ''
 | 
			
		||||
              description: ''
 | 
			
		||||
              subject: ''
 | 
			
		||||
              keywords: ''
 | 
			
		||||
              category: ''
 | 
			
		||||
              manager: ''
 | 
			
		||||
              company: ''
 | 
			
		||||
    cache_metadata:
 | 
			
		||||
      max-age: -1
 | 
			
		||||
      contexts:
 | 
			
		||||
        - 'languages:language_content'
 | 
			
		||||
        - 'languages:language_interface'
 | 
			
		||||
        - request_format
 | 
			
		||||
        - user.permissions
 | 
			
		||||
      tags:
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_languages_spoken'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_osic_level'
 | 
			
		||||
  page_1:
 | 
			
		||||
    display_plugin: page
 | 
			
		||||
    id: page_1
 | 
			
		||||
    display_title: Page
 | 
			
		||||
    position: 1
 | 
			
		||||
    display_options:
 | 
			
		||||
      display_extenders: {  }
 | 
			
		||||
      path: opencase/reporting/volunteers
 | 
			
		||||
      cache:
 | 
			
		||||
        type: none
 | 
			
		||||
      defaults:
 | 
			
		||||
        cache: false
 | 
			
		||||
    cache_metadata:
 | 
			
		||||
      max-age: -1
 | 
			
		||||
      contexts:
 | 
			
		||||
        - 'languages:language_content'
 | 
			
		||||
        - 'languages:language_interface'
 | 
			
		||||
        - url.query_args
 | 
			
		||||
        - user.permissions
 | 
			
		||||
      tags:
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_languages_spoken'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_osic_level'
 | 
			
		||||
@ -0,0 +1,9 @@
 | 
			
		||||
name: 'Opencase example reporting'
 | 
			
		||||
type: module
 | 
			
		||||
description: 'Reporting on the types of people, cases etc that the Opencase Defaults module provides'
 | 
			
		||||
core: 8.x
 | 
			
		||||
package: 'OpenCase'
 | 
			
		||||
dependencies:
 | 
			
		||||
  - opencase_defaults
 | 
			
		||||
  - opencase_reporting
 | 
			
		||||
  - opencase_cases
 | 
			
		||||
@ -0,0 +1,7 @@
 | 
			
		||||
opencase_default_reporting.report_on_status_changes:
 | 
			
		||||
  title: 'Status Changes'
 | 
			
		||||
  description: "Report on changes to people's name, asylum or marital status"
 | 
			
		||||
  parent: opencase_reporting.reporting_menu
 | 
			
		||||
  url: internal:/opencase/reporting/name_and_status_changes
 | 
			
		||||
  weight: 2
 | 
			
		||||
 | 
			
		||||
@ -0,0 +1,43 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
function opencase_default_reporting_uninstall() {
 | 
			
		||||
  $configs = [
 | 
			
		||||
    'search_api.index.opencase_reporting_cases',
 | 
			
		||||
    'search_api.index.opencase_reporting_clients',
 | 
			
		||||
    'search_api.index.opencase_reporting_volunteers',
 | 
			
		||||
    'block.block.facet_asylum_status',
 | 
			
		||||
    'block.block.facet_created',
 | 
			
		||||
    'block.block.facet_disability',
 | 
			
		||||
    'block.block.facet_gender_identified_with',
 | 
			
		||||
    'block.block.facet_languages',
 | 
			
		||||
    'block.block.nationalities',
 | 
			
		||||
    'block.block.osiclevel',
 | 
			
		||||
    'block.block.outcome',
 | 
			
		||||
    'block.block.involvedparties',
 | 
			
		||||
    'views.view.reporting_clients',
 | 
			
		||||
    'views.view.reporting_volunteers',
 | 
			
		||||
    'views.view.reporting_cases',
 | 
			
		||||
    'views.view.name_and_status_changes',
 | 
			
		||||
    'facets.facet.asylum_status_export',
 | 
			
		||||
    'facets.facet.disability',
 | 
			
		||||
    'facets.facet.nationalities_export',
 | 
			
		||||
    'facets.facet.asylum_status',
 | 
			
		||||
    'facets.facet.gender_identified_with_export',
 | 
			
		||||
    'facets.facet.nationalities',
 | 
			
		||||
    'facets.facet.created_export',
 | 
			
		||||
    'facets.facet.gender_identified_with',
 | 
			
		||||
    'facets.facet.osic_level_export',
 | 
			
		||||
    'facets.facet.created',
 | 
			
		||||
    'facets.facet.languages_export',
 | 
			
		||||
    'facets.facet.osic_level',
 | 
			
		||||
    'facets.facet.disability_export',
 | 
			
		||||
    'facets.facet.languages',
 | 
			
		||||
    'facets.facet.outcome',
 | 
			
		||||
    'facets.facet.outcome_export',
 | 
			
		||||
    'facets.facet.involved_parties',
 | 
			
		||||
    'facets.facet.involved_parties_export',
 | 
			
		||||
  ];
 | 
			
		||||
  foreach($configs as $config) {
 | 
			
		||||
    Drupal::configFactory()->getEditable($config)->delete();
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@ -50,7 +50,7 @@ display:
 | 
			
		||||
      pager:
 | 
			
		||||
        type: mini
 | 
			
		||||
        options:
 | 
			
		||||
          items_per_page: 20
 | 
			
		||||
          items_per_page: 50
 | 
			
		||||
          offset: 0
 | 
			
		||||
          id: 0
 | 
			
		||||
          total_pages: null
 | 
			
		||||
@ -447,7 +447,7 @@ display:
 | 
			
		||||
          empty_zero: false
 | 
			
		||||
          hide_alter_empty: false
 | 
			
		||||
          plugin_id: custom
 | 
			
		||||
      filters:
 | 
			
		||||
      filters: null
 | 
			
		||||
      sorts:
 | 
			
		||||
        created:
 | 
			
		||||
          id: created
 | 
			
		||||
@ -569,7 +569,7 @@ display:
 | 
			
		||||
        filter_groups: false
 | 
			
		||||
        empty: false
 | 
			
		||||
      path: opencase/all-cases
 | 
			
		||||
      filters:
 | 
			
		||||
      filters: null
 | 
			
		||||
      filter_groups:
 | 
			
		||||
        operator: AND
 | 
			
		||||
        groups:
 | 
			
		||||
@ -584,14 +584,13 @@ display:
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          empty: true
 | 
			
		||||
          tokenize: false
 | 
			
		||||
          content: "<h1>No cases found</h1>\n<p>You do not have access to any existing cases.</p>\n<p>To <b>add a new case</b>, first search for the person you want to add a case to. If they are not on the system yet you can add them using the <b>Add actors</b> menu in the left sidebar.</p>\n"
 | 
			
		||||
          content: "<h1>No cases found</h1>"
 | 
			
		||||
          plugin_id: text_custom
 | 
			
		||||
    cache_metadata:
 | 
			
		||||
      max-age: -1
 | 
			
		||||
      contexts:
 | 
			
		||||
        - 'languages:language_content'
 | 
			
		||||
        - 'languages:language_interface'
 | 
			
		||||
        - url
 | 
			
		||||
        - url.query_args
 | 
			
		||||
        - user.roles
 | 
			
		||||
      tags: {  }
 | 
			
		||||
@ -0,0 +1,633 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.storage.oc_actor.field_asylum_status
 | 
			
		||||
    - field.storage.oc_actor.field_marital_
 | 
			
		||||
  module:
 | 
			
		||||
    - opencase_entities
 | 
			
		||||
    - options
 | 
			
		||||
    - user
 | 
			
		||||
id: name_and_status_changes
 | 
			
		||||
label: 'Name and Status Changes'
 | 
			
		||||
module: views
 | 
			
		||||
description: ''
 | 
			
		||||
tag: ''
 | 
			
		||||
base_table: oc_actor_field_revision
 | 
			
		||||
base_field: vid
 | 
			
		||||
display:
 | 
			
		||||
  default:
 | 
			
		||||
    display_plugin: default
 | 
			
		||||
    id: default
 | 
			
		||||
    display_title: Master
 | 
			
		||||
    position: 0
 | 
			
		||||
    display_options:
 | 
			
		||||
      access:
 | 
			
		||||
        type: perm
 | 
			
		||||
        options:
 | 
			
		||||
          perm: 'view published case entities'
 | 
			
		||||
      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: none
 | 
			
		||||
        options:
 | 
			
		||||
          offset: 0
 | 
			
		||||
      style:
 | 
			
		||||
        type: table
 | 
			
		||||
        options:
 | 
			
		||||
          grouping:
 | 
			
		||||
            -
 | 
			
		||||
              field: view_oc_actor
 | 
			
		||||
              rendered: true
 | 
			
		||||
              rendered_strip: false
 | 
			
		||||
          row_class: ''
 | 
			
		||||
          default_row_class: true
 | 
			
		||||
          override: true
 | 
			
		||||
          sticky: false
 | 
			
		||||
          caption: ''
 | 
			
		||||
          summary: ''
 | 
			
		||||
          description: ''
 | 
			
		||||
          columns:
 | 
			
		||||
            first_name: first_name
 | 
			
		||||
            middle_names: middle_names
 | 
			
		||||
            last_name: last_name
 | 
			
		||||
            field_asylum_status-revision_id: field_asylum_status-revision_id
 | 
			
		||||
            field_marital_-revision_id: field_marital_-revision_id
 | 
			
		||||
            view_oc_actor: view_oc_actor
 | 
			
		||||
            revision_created: revision_created
 | 
			
		||||
          info:
 | 
			
		||||
            first_name:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            middle_names:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            last_name:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            field_asylum_status-revision_id:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            field_marital_-revision_id:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            view_oc_actor:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
            revision_created:
 | 
			
		||||
              sortable: false
 | 
			
		||||
              default_sort_order: asc
 | 
			
		||||
              align: ''
 | 
			
		||||
              separator: ''
 | 
			
		||||
              empty_column: false
 | 
			
		||||
              responsive: ''
 | 
			
		||||
          default: '-1'
 | 
			
		||||
          empty_table: false
 | 
			
		||||
      row:
 | 
			
		||||
        type: fields
 | 
			
		||||
        options:
 | 
			
		||||
          inline: {  }
 | 
			
		||||
          separator: ''
 | 
			
		||||
          hide_empty: false
 | 
			
		||||
          default_field_elements: true
 | 
			
		||||
      fields:
 | 
			
		||||
        revision_created:
 | 
			
		||||
          id: revision_created
 | 
			
		||||
          table: oc_actor_revision
 | 
			
		||||
          field: revision_created
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: min
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Date changed'
 | 
			
		||||
          exclude: false
 | 
			
		||||
          alter:
 | 
			
		||||
            alter_text: true
 | 
			
		||||
            text: '{{ revision_created | date(''d/m/Y'') }}'
 | 
			
		||||
            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
 | 
			
		||||
          set_precision: false
 | 
			
		||||
          precision: 0
 | 
			
		||||
          decimal: .
 | 
			
		||||
          separator: ''
 | 
			
		||||
          format_plural: 0
 | 
			
		||||
          format_plural_string: !!binary MQNAY291bnQ=
 | 
			
		||||
          prefix: ''
 | 
			
		||||
          suffix: ''
 | 
			
		||||
          click_sort_column: value
 | 
			
		||||
          type: timestamp
 | 
			
		||||
          settings: {  }
 | 
			
		||||
          group_column: value
 | 
			
		||||
          group_columns: {  }
 | 
			
		||||
          group_rows: true
 | 
			
		||||
          delta_limit: 0
 | 
			
		||||
          delta_offset: 0
 | 
			
		||||
          delta_reversed: false
 | 
			
		||||
          delta_first_last: false
 | 
			
		||||
          multi_type: separator
 | 
			
		||||
          field_api_classes: false
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: revision_created
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        first_name:
 | 
			
		||||
          id: first_name
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: first_name
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'First Name'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: first_name
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        middle_names:
 | 
			
		||||
          id: middle_names
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: middle_names
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Middle Names'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: middle_names
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        last_name:
 | 
			
		||||
          id: last_name
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: last_name
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Last Name'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: string
 | 
			
		||||
          settings:
 | 
			
		||||
            link_to_entity: false
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: last_name
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        field_asylum_status-revision_id:
 | 
			
		||||
          id: field_asylum_status-revision_id
 | 
			
		||||
          table: oc_actor_revision__field_asylum_status
 | 
			
		||||
          field: field_asylum_status-revision_id
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Asylum status'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: list_default
 | 
			
		||||
          settings: {  }
 | 
			
		||||
          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
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        field_marital_-revision_id:
 | 
			
		||||
          id: field_marital_-revision_id
 | 
			
		||||
          table: oc_actor_revision__field_marital_
 | 
			
		||||
          field: field_marital_-revision_id
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Marital status'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: list_default
 | 
			
		||||
          settings: {  }
 | 
			
		||||
          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
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        view_oc_actor:
 | 
			
		||||
          id: view_oc_actor
 | 
			
		||||
          table: oc_actor_field_revision
 | 
			
		||||
          field: view_oc_actor
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: ''
 | 
			
		||||
          exclude: true
 | 
			
		||||
          alter:
 | 
			
		||||
            alter_text: true
 | 
			
		||||
            text: 'View the current record for this person ▼'
 | 
			
		||||
            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: false
 | 
			
		||||
          element_wrapper_type: ''
 | 
			
		||||
          element_wrapper_class: ''
 | 
			
		||||
          element_default_classes: true
 | 
			
		||||
          empty: ''
 | 
			
		||||
          hide_empty: false
 | 
			
		||||
          empty_zero: false
 | 
			
		||||
          hide_alter_empty: true
 | 
			
		||||
          text: ''
 | 
			
		||||
          output_url_as_text: false
 | 
			
		||||
          absolute: false
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          plugin_id: entity_link
 | 
			
		||||
      filters: {  }
 | 
			
		||||
      sorts:
 | 
			
		||||
        revision_created:
 | 
			
		||||
          id: revision_created
 | 
			
		||||
          table: oc_actor_revision
 | 
			
		||||
          field: revision_created
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: min
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          order: DESC
 | 
			
		||||
          exposed: false
 | 
			
		||||
          expose:
 | 
			
		||||
            label: ''
 | 
			
		||||
          granularity: second
 | 
			
		||||
          entity_type: oc_actor
 | 
			
		||||
          entity_field: revision_created
 | 
			
		||||
          plugin_id: date
 | 
			
		||||
      header: {  }
 | 
			
		||||
      footer: {  }
 | 
			
		||||
      empty: {  }
 | 
			
		||||
      relationships: {  }
 | 
			
		||||
      arguments: {  }
 | 
			
		||||
      display_extenders: {  }
 | 
			
		||||
      group_by: true
 | 
			
		||||
      title: 'Name, Asylum and Marital Status Report'
 | 
			
		||||
    cache_metadata:
 | 
			
		||||
      max-age: -1
 | 
			
		||||
      contexts:
 | 
			
		||||
        - 'languages:language_content'
 | 
			
		||||
        - 'languages:language_interface'
 | 
			
		||||
        - user.permissions
 | 
			
		||||
      tags:
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_asylum_status'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_marital_'
 | 
			
		||||
  page_1:
 | 
			
		||||
    display_plugin: page
 | 
			
		||||
    id: page_1
 | 
			
		||||
    display_title: Page
 | 
			
		||||
    position: 1
 | 
			
		||||
    display_options:
 | 
			
		||||
      display_extenders:
 | 
			
		||||
        library_in_views_display_extender:
 | 
			
		||||
          attach_library:
 | 
			
		||||
            attach_library: opencase/opencase-grouped-views
 | 
			
		||||
      path: opencase/reporting/name_and_status_changes
 | 
			
		||||
    cache_metadata:
 | 
			
		||||
      max-age: -1
 | 
			
		||||
      contexts:
 | 
			
		||||
        - 'languages:language_content'
 | 
			
		||||
        - 'languages:language_interface'
 | 
			
		||||
        - user.permissions
 | 
			
		||||
      tags:
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_asylum_status'
 | 
			
		||||
        - 'config:field.storage.oc_actor.field_marital_'
 | 
			
		||||
@ -13,8 +13,9 @@ dependencies:
 | 
			
		||||
    - field.field.oc_actor.client.field_income
 | 
			
		||||
    - field.field.oc_actor.client.field_languages_spoken
 | 
			
		||||
    - field.field.oc_actor.client.field_marital_
 | 
			
		||||
    - field.field.oc_actor.client.field_nationality
 | 
			
		||||
    - field.field.oc_actor.client.field_nationalities
 | 
			
		||||
    - field.field.oc_actor.client.field_referred_by
 | 
			
		||||
    - field.field.oc_actor.client.field_sex
 | 
			
		||||
    - opencase_entities.oc_actor_type.client
 | 
			
		||||
  module:
 | 
			
		||||
    - datetime
 | 
			
		||||
@ -25,7 +26,7 @@ bundle: client
 | 
			
		||||
mode: default
 | 
			
		||||
content:
 | 
			
		||||
  field_asylum_status:
 | 
			
		||||
    weight: 6
 | 
			
		||||
    weight: 4
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: options_select
 | 
			
		||||
@ -39,27 +40,19 @@ content:
 | 
			
		||||
    type: string_textfield
 | 
			
		||||
    region: content
 | 
			
		||||
  field_confidentiality_form:
 | 
			
		||||
    weight: 15
 | 
			
		||||
    weight: 13
 | 
			
		||||
    settings:
 | 
			
		||||
      progress_indicator: throbber
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: file_generic
 | 
			
		||||
    region: content
 | 
			
		||||
  field_date_of_birth:
 | 
			
		||||
    weight: 3
 | 
			
		||||
    weight: 0
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: datetime_default
 | 
			
		||||
    region: content
 | 
			
		||||
  field_dependants:
 | 
			
		||||
    weight: 12
 | 
			
		||||
    settings:
 | 
			
		||||
      size: 60
 | 
			
		||||
      placeholder: ''
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: string_textfield
 | 
			
		||||
    region: content
 | 
			
		||||
  field_disability:
 | 
			
		||||
    weight: 10
 | 
			
		||||
    settings:
 | 
			
		||||
      size: 60
 | 
			
		||||
@ -67,45 +60,7 @@ content:
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: string_textfield
 | 
			
		||||
    region: content
 | 
			
		||||
  field_ethnic_o:
 | 
			
		||||
    weight: 7
 | 
			
		||||
    settings:
 | 
			
		||||
      size: 60
 | 
			
		||||
      placeholder: ''
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: string_textfield
 | 
			
		||||
    region: content
 | 
			
		||||
  field_gender_identified_with:
 | 
			
		||||
    weight: 4
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: options_select
 | 
			
		||||
    region: content
 | 
			
		||||
  field_how_heard:
 | 
			
		||||
    weight: 13
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: options_select
 | 
			
		||||
    region: content
 | 
			
		||||
  field_income:
 | 
			
		||||
    weight: 11
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: options_select
 | 
			
		||||
    region: content
 | 
			
		||||
  field_languages_spoken:
 | 
			
		||||
    weight: 9
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: options_select
 | 
			
		||||
    region: content
 | 
			
		||||
  field_marital_:
 | 
			
		||||
    weight: 5
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: options_select
 | 
			
		||||
    region: content
 | 
			
		||||
  field_nationality:
 | 
			
		||||
  field_disability:
 | 
			
		||||
    weight: 8
 | 
			
		||||
    settings:
 | 
			
		||||
      size: 60
 | 
			
		||||
@ -113,14 +68,64 @@ content:
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: string_textfield
 | 
			
		||||
    region: content
 | 
			
		||||
  field_referred_by:
 | 
			
		||||
    weight: 14
 | 
			
		||||
  field_ethnic_o:
 | 
			
		||||
    weight: 5
 | 
			
		||||
    settings:
 | 
			
		||||
      size: 60
 | 
			
		||||
      placeholder: ''
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: string_textfield
 | 
			
		||||
    region: content
 | 
			
		||||
  field_gender_identified_with:
 | 
			
		||||
    weight: 1
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: options_select
 | 
			
		||||
    region: content
 | 
			
		||||
  field_how_heard:
 | 
			
		||||
    weight: 11
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: options_select
 | 
			
		||||
    region: content
 | 
			
		||||
  field_income:
 | 
			
		||||
    weight: 9
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: options_select
 | 
			
		||||
    region: content
 | 
			
		||||
  field_languages_spoken:
 | 
			
		||||
    weight: 7
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: options_select
 | 
			
		||||
    region: content
 | 
			
		||||
  field_marital_:
 | 
			
		||||
    weight: 3
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: options_select
 | 
			
		||||
    region: content
 | 
			
		||||
  field_nationalities:
 | 
			
		||||
    type: options_select
 | 
			
		||||
    weight: 6
 | 
			
		||||
    region: content
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
  field_referred_by:
 | 
			
		||||
    weight: 12
 | 
			
		||||
    settings:
 | 
			
		||||
      size: 60
 | 
			
		||||
      placeholder: ''
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: string_textfield
 | 
			
		||||
    region: content
 | 
			
		||||
  field_sex:
 | 
			
		||||
    weight: 2
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: options_select
 | 
			
		||||
    region: content
 | 
			
		||||
  name:
 | 
			
		||||
    type: string_textfield
 | 
			
		||||
    weight: -4
 | 
			
		||||
@ -129,30 +134,6 @@ content:
 | 
			
		||||
      size: 60
 | 
			
		||||
      placeholder: ''
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
  phone:
 | 
			
		||||
    type: string_textfield
 | 
			
		||||
    weight: 0
 | 
			
		||||
    region: content
 | 
			
		||||
    settings:
 | 
			
		||||
      size: 60
 | 
			
		||||
      placeholder: ''
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
  phone2:
 | 
			
		||||
    type: string_textfield
 | 
			
		||||
    weight: 1
 | 
			
		||||
    region: content
 | 
			
		||||
    settings:
 | 
			
		||||
      size: 60
 | 
			
		||||
      placeholder: ''
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
  postal_address:
 | 
			
		||||
    type: string_textarea
 | 
			
		||||
    weight: 2
 | 
			
		||||
    region: content
 | 
			
		||||
    settings:
 | 
			
		||||
      rows: 5
 | 
			
		||||
      placeholder: ''
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
  user_id:
 | 
			
		||||
    type: entity_reference_autocomplete
 | 
			
		||||
    weight: 5
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,7 @@ status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.field.oc_actor.volunteer.field_languages_spoken
 | 
			
		||||
    - field.field.oc_actor.volunteer.field_nationality
 | 
			
		||||
    - field.field.oc_actor.volunteer.field_nationalities
 | 
			
		||||
    - field.field.oc_actor.volunteer.field_osic_level
 | 
			
		||||
    - field.field.oc_actor.volunteer.field_skills
 | 
			
		||||
    - opencase_entities.oc_actor_type.volunteer
 | 
			
		||||
@ -18,7 +18,7 @@ content:
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: options_select
 | 
			
		||||
    region: content
 | 
			
		||||
  field_nationality:
 | 
			
		||||
  field_nationalities:
 | 
			
		||||
    weight: 0
 | 
			
		||||
    settings:
 | 
			
		||||
      size: 60
 | 
			
		||||
 | 
			
		||||
@ -13,7 +13,7 @@ dependencies:
 | 
			
		||||
    - field.field.oc_actor.client.field_income
 | 
			
		||||
    - field.field.oc_actor.client.field_languages_spoken
 | 
			
		||||
    - field.field.oc_actor.client.field_marital_
 | 
			
		||||
    - field.field.oc_actor.client.field_nationality
 | 
			
		||||
    - field.field.oc_actor.client.field_nationalities
 | 
			
		||||
    - field.field.oc_actor.client.field_referred_by
 | 
			
		||||
    - opencase_entities.oc_actor_type.client
 | 
			
		||||
  module:
 | 
			
		||||
@ -117,7 +117,7 @@ content:
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: list_default
 | 
			
		||||
    region: content
 | 
			
		||||
  field_nationality:
 | 
			
		||||
  field_nationalities:
 | 
			
		||||
    weight: 8
 | 
			
		||||
    label: above
 | 
			
		||||
    settings:
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,7 @@ status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.field.oc_actor.volunteer.field_languages_spoken
 | 
			
		||||
    - field.field.oc_actor.volunteer.field_nationality
 | 
			
		||||
    - field.field.oc_actor.volunteer.field_nationalities
 | 
			
		||||
    - field.field.oc_actor.volunteer.field_osic_level
 | 
			
		||||
    - field.field.oc_actor.volunteer.field_skills
 | 
			
		||||
    - opencase_entities.oc_actor_type.volunteer
 | 
			
		||||
@ -22,7 +22,7 @@ content:
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    type: list_default
 | 
			
		||||
    region: content
 | 
			
		||||
  field_nationality:
 | 
			
		||||
  field_nationalities:
 | 
			
		||||
    weight: 3
 | 
			
		||||
    label: above
 | 
			
		||||
    settings:
 | 
			
		||||
 | 
			
		||||
@ -0,0 +1,20 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.storage.oc_actor.field_nationalities
 | 
			
		||||
    - opencase_entities.oc_actor_type.client
 | 
			
		||||
  module:
 | 
			
		||||
    - options
 | 
			
		||||
id: oc_actor.client.field_nationalities
 | 
			
		||||
field_name: field_nationalities
 | 
			
		||||
entity_type: oc_actor
 | 
			
		||||
bundle: client
 | 
			
		||||
label: Nationality
 | 
			
		||||
description: 'To select multiple nationalities, hold down <b>Ctrl</b> (or the Mac equivalent) while clicking.'
 | 
			
		||||
required: false
 | 
			
		||||
translatable: false
 | 
			
		||||
default_value: {  }
 | 
			
		||||
default_value_callback: ''
 | 
			
		||||
settings: {  }
 | 
			
		||||
field_type: list_string
 | 
			
		||||
@ -2,17 +2,19 @@ langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.storage.oc_actor.field_nationality
 | 
			
		||||
    - field.storage.oc_actor.field_sex
 | 
			
		||||
    - opencase_entities.oc_actor_type.client
 | 
			
		||||
id: oc_actor.client.field_nationality
 | 
			
		||||
field_name: field_nationality
 | 
			
		||||
  module:
 | 
			
		||||
    - options
 | 
			
		||||
id: oc_actor.client.field_sex
 | 
			
		||||
field_name: field_sex
 | 
			
		||||
entity_type: oc_actor
 | 
			
		||||
bundle: client
 | 
			
		||||
label: Nationality
 | 
			
		||||
label: Sex
 | 
			
		||||
description: ''
 | 
			
		||||
required: false
 | 
			
		||||
translatable: false
 | 
			
		||||
default_value: {  }
 | 
			
		||||
default_value_callback: ''
 | 
			
		||||
settings: {  }
 | 
			
		||||
field_type: string
 | 
			
		||||
field_type: list_string
 | 
			
		||||
@ -0,0 +1,20 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.storage.oc_actor.field_nationalities
 | 
			
		||||
    - opencase_entities.oc_actor_type.volunteer
 | 
			
		||||
  module:
 | 
			
		||||
    - options
 | 
			
		||||
id: oc_actor.volunteer.field_nationalities
 | 
			
		||||
field_name: field_nationalities
 | 
			
		||||
entity_type: oc_actor
 | 
			
		||||
bundle: volunteer
 | 
			
		||||
label: Nationality
 | 
			
		||||
description: 'To select multiple nationalities, hold down <b>Ctrl</b> (or the Mac equivalent) while clicking.'
 | 
			
		||||
required: false
 | 
			
		||||
translatable: true
 | 
			
		||||
default_value: {  }
 | 
			
		||||
default_value_callback: ''
 | 
			
		||||
settings: {  }
 | 
			
		||||
field_type: list_string
 | 
			
		||||
@ -1,18 +0,0 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.storage.oc_actor.field_nationality
 | 
			
		||||
    - opencase_entities.oc_actor_type.volunteer
 | 
			
		||||
id: oc_actor.volunteer.field_nationality
 | 
			
		||||
field_name: field_nationality
 | 
			
		||||
entity_type: oc_actor
 | 
			
		||||
bundle: volunteer
 | 
			
		||||
label: Nationality
 | 
			
		||||
description: ''
 | 
			
		||||
required: false
 | 
			
		||||
translatable: true
 | 
			
		||||
default_value: {  }
 | 
			
		||||
default_value_callback: ''
 | 
			
		||||
settings: {  }
 | 
			
		||||
field_type: string
 | 
			
		||||
@ -0,0 +1,611 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  module:
 | 
			
		||||
    - opencase_entities
 | 
			
		||||
    - options
 | 
			
		||||
id: oc_actor.field_nationalities
 | 
			
		||||
field_name: field_nationalities
 | 
			
		||||
entity_type: oc_actor
 | 
			
		||||
type: list_string
 | 
			
		||||
settings:
 | 
			
		||||
  allowed_values:
 | 
			
		||||
    -
 | 
			
		||||
      value: Afghan
 | 
			
		||||
      label: Afghan
 | 
			
		||||
    -
 | 
			
		||||
      value: Albanian
 | 
			
		||||
      label: Albanian
 | 
			
		||||
    -
 | 
			
		||||
      value: Algerian
 | 
			
		||||
      label: Algerian
 | 
			
		||||
    -
 | 
			
		||||
      value: American
 | 
			
		||||
      label: American
 | 
			
		||||
    -
 | 
			
		||||
      value: Andorran
 | 
			
		||||
      label: Andorran
 | 
			
		||||
    -
 | 
			
		||||
      value: Angolan
 | 
			
		||||
      label: Angolan
 | 
			
		||||
    -
 | 
			
		||||
      value: Antiguans
 | 
			
		||||
      label: Antiguans
 | 
			
		||||
    -
 | 
			
		||||
      value: Argentinean
 | 
			
		||||
      label: Argentinean
 | 
			
		||||
    -
 | 
			
		||||
      value: Armenian
 | 
			
		||||
      label: Armenian
 | 
			
		||||
    -
 | 
			
		||||
      value: Australian
 | 
			
		||||
      label: Australian
 | 
			
		||||
    -
 | 
			
		||||
      value: Austrian
 | 
			
		||||
      label: Austrian
 | 
			
		||||
    -
 | 
			
		||||
      value: Azerbaijani
 | 
			
		||||
      label: Azerbaijani
 | 
			
		||||
    -
 | 
			
		||||
      value: Bahamian
 | 
			
		||||
      label: Bahamian
 | 
			
		||||
    -
 | 
			
		||||
      value: Bahraini
 | 
			
		||||
      label: Bahraini
 | 
			
		||||
    -
 | 
			
		||||
      value: Bangladeshi
 | 
			
		||||
      label: Bangladeshi
 | 
			
		||||
    -
 | 
			
		||||
      value: Barbadian
 | 
			
		||||
      label: Barbadian
 | 
			
		||||
    -
 | 
			
		||||
      value: Barbudans
 | 
			
		||||
      label: Barbudans
 | 
			
		||||
    -
 | 
			
		||||
      value: Batswana
 | 
			
		||||
      label: Batswana
 | 
			
		||||
    -
 | 
			
		||||
      value: Belarusian
 | 
			
		||||
      label: Belarusian
 | 
			
		||||
    -
 | 
			
		||||
      value: Belgian
 | 
			
		||||
      label: Belgian
 | 
			
		||||
    -
 | 
			
		||||
      value: Belizean
 | 
			
		||||
      label: Belizean
 | 
			
		||||
    -
 | 
			
		||||
      value: Beninese
 | 
			
		||||
      label: Beninese
 | 
			
		||||
    -
 | 
			
		||||
      value: Bhutanese
 | 
			
		||||
      label: Bhutanese
 | 
			
		||||
    -
 | 
			
		||||
      value: Bolivian
 | 
			
		||||
      label: Bolivian
 | 
			
		||||
    -
 | 
			
		||||
      value: Bosnian
 | 
			
		||||
      label: Bosnian
 | 
			
		||||
    -
 | 
			
		||||
      value: Brazilian
 | 
			
		||||
      label: Brazilian
 | 
			
		||||
    -
 | 
			
		||||
      value: British
 | 
			
		||||
      label: British
 | 
			
		||||
    -
 | 
			
		||||
      value: Bruneian
 | 
			
		||||
      label: Bruneian
 | 
			
		||||
    -
 | 
			
		||||
      value: Bulgarian
 | 
			
		||||
      label: Bulgarian
 | 
			
		||||
    -
 | 
			
		||||
      value: Burkinabe
 | 
			
		||||
      label: Burkinabe
 | 
			
		||||
    -
 | 
			
		||||
      value: Burmese
 | 
			
		||||
      label: Burmese
 | 
			
		||||
    -
 | 
			
		||||
      value: Burundian
 | 
			
		||||
      label: Burundian
 | 
			
		||||
    -
 | 
			
		||||
      value: Cambodian
 | 
			
		||||
      label: Cambodian
 | 
			
		||||
    -
 | 
			
		||||
      value: Cameroonian
 | 
			
		||||
      label: Cameroonian
 | 
			
		||||
    -
 | 
			
		||||
      value: Canadian
 | 
			
		||||
      label: Canadian
 | 
			
		||||
    -
 | 
			
		||||
      value: 'Cape Verdean'
 | 
			
		||||
      label: 'Cape Verdean'
 | 
			
		||||
    -
 | 
			
		||||
      value: 'Central African'
 | 
			
		||||
      label: 'Central African'
 | 
			
		||||
    -
 | 
			
		||||
      value: Chadian
 | 
			
		||||
      label: Chadian
 | 
			
		||||
    -
 | 
			
		||||
      value: Chilean
 | 
			
		||||
      label: Chilean
 | 
			
		||||
    -
 | 
			
		||||
      value: Chinese
 | 
			
		||||
      label: Chinese
 | 
			
		||||
    -
 | 
			
		||||
      value: Colombian
 | 
			
		||||
      label: Colombian
 | 
			
		||||
    -
 | 
			
		||||
      value: Comoran
 | 
			
		||||
      label: Comoran
 | 
			
		||||
    -
 | 
			
		||||
      value: Congolese
 | 
			
		||||
      label: Congolese
 | 
			
		||||
    -
 | 
			
		||||
      value: 'Costa Rican'
 | 
			
		||||
      label: 'Costa Rican'
 | 
			
		||||
    -
 | 
			
		||||
      value: Croatian
 | 
			
		||||
      label: Croatian
 | 
			
		||||
    -
 | 
			
		||||
      value: Cuban
 | 
			
		||||
      label: Cuban
 | 
			
		||||
    -
 | 
			
		||||
      value: Cypriot
 | 
			
		||||
      label: Cypriot
 | 
			
		||||
    -
 | 
			
		||||
      value: Czech
 | 
			
		||||
      label: Czech
 | 
			
		||||
    -
 | 
			
		||||
      value: Danish
 | 
			
		||||
      label: Danish
 | 
			
		||||
    -
 | 
			
		||||
      value: Djibouti
 | 
			
		||||
      label: Djibouti
 | 
			
		||||
    -
 | 
			
		||||
      value: Dominican
 | 
			
		||||
      label: Dominican
 | 
			
		||||
    -
 | 
			
		||||
      value: Dutch
 | 
			
		||||
      label: Dutch
 | 
			
		||||
    -
 | 
			
		||||
      value: Dutchman
 | 
			
		||||
      label: Dutchman
 | 
			
		||||
    -
 | 
			
		||||
      value: Dutchwoman
 | 
			
		||||
      label: Dutchwoman
 | 
			
		||||
    -
 | 
			
		||||
      value: 'East Timorese'
 | 
			
		||||
      label: 'East Timorese'
 | 
			
		||||
    -
 | 
			
		||||
      value: Ecuadorean
 | 
			
		||||
      label: Ecuadorean
 | 
			
		||||
    -
 | 
			
		||||
      value: Egyptian
 | 
			
		||||
      label: Egyptian
 | 
			
		||||
    -
 | 
			
		||||
      value: Emirian
 | 
			
		||||
      label: Emirian
 | 
			
		||||
    -
 | 
			
		||||
      value: 'Equatorial Guinean'
 | 
			
		||||
      label: 'Equatorial Guinean'
 | 
			
		||||
    -
 | 
			
		||||
      value: Eritrean
 | 
			
		||||
      label: Eritrean
 | 
			
		||||
    -
 | 
			
		||||
      value: Estonian
 | 
			
		||||
      label: Estonian
 | 
			
		||||
    -
 | 
			
		||||
      value: Ethiopian
 | 
			
		||||
      label: Ethiopian
 | 
			
		||||
    -
 | 
			
		||||
      value: Fijian
 | 
			
		||||
      label: Fijian
 | 
			
		||||
    -
 | 
			
		||||
      value: Filipino
 | 
			
		||||
      label: Filipino
 | 
			
		||||
    -
 | 
			
		||||
      value: Finnish
 | 
			
		||||
      label: Finnish
 | 
			
		||||
    -
 | 
			
		||||
      value: French
 | 
			
		||||
      label: French
 | 
			
		||||
    -
 | 
			
		||||
      value: Gabonese
 | 
			
		||||
      label: Gabonese
 | 
			
		||||
    -
 | 
			
		||||
      value: Gambian
 | 
			
		||||
      label: Gambian
 | 
			
		||||
    -
 | 
			
		||||
      value: Georgian
 | 
			
		||||
      label: Georgian
 | 
			
		||||
    -
 | 
			
		||||
      value: German
 | 
			
		||||
      label: German
 | 
			
		||||
    -
 | 
			
		||||
      value: Ghanaian
 | 
			
		||||
      label: Ghanaian
 | 
			
		||||
    -
 | 
			
		||||
      value: Greek
 | 
			
		||||
      label: Greek
 | 
			
		||||
    -
 | 
			
		||||
      value: Grenadian
 | 
			
		||||
      label: Grenadian
 | 
			
		||||
    -
 | 
			
		||||
      value: Guatemalan
 | 
			
		||||
      label: Guatemalan
 | 
			
		||||
    -
 | 
			
		||||
      value: Guinea-Bissauan
 | 
			
		||||
      label: Guinea-Bissauan
 | 
			
		||||
    -
 | 
			
		||||
      value: Guinean
 | 
			
		||||
      label: Guinean
 | 
			
		||||
    -
 | 
			
		||||
      value: Guyanese
 | 
			
		||||
      label: Guyanese
 | 
			
		||||
    -
 | 
			
		||||
      value: Haitian
 | 
			
		||||
      label: Haitian
 | 
			
		||||
    -
 | 
			
		||||
      value: Herzegovinian
 | 
			
		||||
      label: Herzegovinian
 | 
			
		||||
    -
 | 
			
		||||
      value: Honduran
 | 
			
		||||
      label: Honduran
 | 
			
		||||
    -
 | 
			
		||||
      value: Hungarian
 | 
			
		||||
      label: Hungarian
 | 
			
		||||
    -
 | 
			
		||||
      value: I-Kiribati
 | 
			
		||||
      label: I-Kiribati
 | 
			
		||||
    -
 | 
			
		||||
      value: Icelander
 | 
			
		||||
      label: Icelander
 | 
			
		||||
    -
 | 
			
		||||
      value: Indian
 | 
			
		||||
      label: Indian
 | 
			
		||||
    -
 | 
			
		||||
      value: Indonesian
 | 
			
		||||
      label: Indonesian
 | 
			
		||||
    -
 | 
			
		||||
      value: Iranian
 | 
			
		||||
      label: Iranian
 | 
			
		||||
    -
 | 
			
		||||
      value: Iraqi
 | 
			
		||||
      label: Iraqi
 | 
			
		||||
    -
 | 
			
		||||
      value: Irish
 | 
			
		||||
      label: Irish
 | 
			
		||||
    -
 | 
			
		||||
      value: Israeli
 | 
			
		||||
      label: Israeli
 | 
			
		||||
    -
 | 
			
		||||
      value: Italian
 | 
			
		||||
      label: Italian
 | 
			
		||||
    -
 | 
			
		||||
      value: Ivorian
 | 
			
		||||
      label: Ivorian
 | 
			
		||||
    -
 | 
			
		||||
      value: Jamaican
 | 
			
		||||
      label: Jamaican
 | 
			
		||||
    -
 | 
			
		||||
      value: Japanese
 | 
			
		||||
      label: Japanese
 | 
			
		||||
    -
 | 
			
		||||
      value: Jordanian
 | 
			
		||||
      label: Jordanian
 | 
			
		||||
    -
 | 
			
		||||
      value: Kazakhstani
 | 
			
		||||
      label: Kazakhstani
 | 
			
		||||
    -
 | 
			
		||||
      value: Kenyan
 | 
			
		||||
      label: Kenyan
 | 
			
		||||
    -
 | 
			
		||||
      value: 'Kittian and Nevisian'
 | 
			
		||||
      label: 'Kittian and Nevisian'
 | 
			
		||||
    -
 | 
			
		||||
      value: Kuwaiti
 | 
			
		||||
      label: Kuwaiti
 | 
			
		||||
    -
 | 
			
		||||
      value: Kyrgyz
 | 
			
		||||
      label: Kyrgyz
 | 
			
		||||
    -
 | 
			
		||||
      value: Laotian
 | 
			
		||||
      label: Laotian
 | 
			
		||||
    -
 | 
			
		||||
      value: Latvian
 | 
			
		||||
      label: Latvian
 | 
			
		||||
    -
 | 
			
		||||
      value: Lebanese
 | 
			
		||||
      label: Lebanese
 | 
			
		||||
    -
 | 
			
		||||
      value: Liberian
 | 
			
		||||
      label: Liberian
 | 
			
		||||
    -
 | 
			
		||||
      value: Libyan
 | 
			
		||||
      label: Libyan
 | 
			
		||||
    -
 | 
			
		||||
      value: Liechtensteiner
 | 
			
		||||
      label: Liechtensteiner
 | 
			
		||||
    -
 | 
			
		||||
      value: Lithuanian
 | 
			
		||||
      label: Lithuanian
 | 
			
		||||
    -
 | 
			
		||||
      value: Luxembourger
 | 
			
		||||
      label: Luxembourger
 | 
			
		||||
    -
 | 
			
		||||
      value: Macedonian
 | 
			
		||||
      label: Macedonian
 | 
			
		||||
    -
 | 
			
		||||
      value: Malagasy
 | 
			
		||||
      label: Malagasy
 | 
			
		||||
    -
 | 
			
		||||
      value: Malawian
 | 
			
		||||
      label: Malawian
 | 
			
		||||
    -
 | 
			
		||||
      value: Malaysian
 | 
			
		||||
      label: Malaysian
 | 
			
		||||
    -
 | 
			
		||||
      value: Maldivan
 | 
			
		||||
      label: Maldivan
 | 
			
		||||
    -
 | 
			
		||||
      value: Malian
 | 
			
		||||
      label: Malian
 | 
			
		||||
    -
 | 
			
		||||
      value: Maltese
 | 
			
		||||
      label: Maltese
 | 
			
		||||
    -
 | 
			
		||||
      value: Marshallese
 | 
			
		||||
      label: Marshallese
 | 
			
		||||
    -
 | 
			
		||||
      value: Mauritanian
 | 
			
		||||
      label: Mauritanian
 | 
			
		||||
    -
 | 
			
		||||
      value: Mauritian
 | 
			
		||||
      label: Mauritian
 | 
			
		||||
    -
 | 
			
		||||
      value: Mexican
 | 
			
		||||
      label: Mexican
 | 
			
		||||
    -
 | 
			
		||||
      value: Micronesian
 | 
			
		||||
      label: Micronesian
 | 
			
		||||
    -
 | 
			
		||||
      value: Moldovan
 | 
			
		||||
      label: Moldovan
 | 
			
		||||
    -
 | 
			
		||||
      value: Monacan
 | 
			
		||||
      label: Monacan
 | 
			
		||||
    -
 | 
			
		||||
      value: Mongolian
 | 
			
		||||
      label: Mongolian
 | 
			
		||||
    -
 | 
			
		||||
      value: Moroccan
 | 
			
		||||
      label: Moroccan
 | 
			
		||||
    -
 | 
			
		||||
      value: Mosotho
 | 
			
		||||
      label: Mosotho
 | 
			
		||||
    -
 | 
			
		||||
      value: Motswana
 | 
			
		||||
      label: Motswana
 | 
			
		||||
    -
 | 
			
		||||
      value: Mozambican
 | 
			
		||||
      label: Mozambican
 | 
			
		||||
    -
 | 
			
		||||
      value: Namibian
 | 
			
		||||
      label: Namibian
 | 
			
		||||
    -
 | 
			
		||||
      value: Nauruan
 | 
			
		||||
      label: Nauruan
 | 
			
		||||
    -
 | 
			
		||||
      value: Nepalese
 | 
			
		||||
      label: Nepalese
 | 
			
		||||
    -
 | 
			
		||||
      value: Netherlander
 | 
			
		||||
      label: Netherlander
 | 
			
		||||
    -
 | 
			
		||||
      value: 'New Zealander'
 | 
			
		||||
      label: 'New Zealander'
 | 
			
		||||
    -
 | 
			
		||||
      value: Ni-Vanuatu
 | 
			
		||||
      label: Ni-Vanuatu
 | 
			
		||||
    -
 | 
			
		||||
      value: Nicaraguan
 | 
			
		||||
      label: Nicaraguan
 | 
			
		||||
    -
 | 
			
		||||
      value: Nigerian
 | 
			
		||||
      label: Nigerian
 | 
			
		||||
    -
 | 
			
		||||
      value: Nigerien
 | 
			
		||||
      label: Nigerien
 | 
			
		||||
    -
 | 
			
		||||
      value: 'North Korean'
 | 
			
		||||
      label: 'North Korean'
 | 
			
		||||
    -
 | 
			
		||||
      value: 'Northern Irish'
 | 
			
		||||
      label: 'Northern Irish'
 | 
			
		||||
    -
 | 
			
		||||
      value: Norwegian
 | 
			
		||||
      label: Norwegian
 | 
			
		||||
    -
 | 
			
		||||
      value: Omani
 | 
			
		||||
      label: Omani
 | 
			
		||||
    -
 | 
			
		||||
      value: Pakistani
 | 
			
		||||
      label: Pakistani
 | 
			
		||||
    -
 | 
			
		||||
      value: Palauan
 | 
			
		||||
      label: Palauan
 | 
			
		||||
    -
 | 
			
		||||
      value: Panamanian
 | 
			
		||||
      label: Panamanian
 | 
			
		||||
    -
 | 
			
		||||
      value: 'Papua New Guinean'
 | 
			
		||||
      label: 'Papua New Guinean'
 | 
			
		||||
    -
 | 
			
		||||
      value: Paraguayan
 | 
			
		||||
      label: Paraguayan
 | 
			
		||||
    -
 | 
			
		||||
      value: Peruvian
 | 
			
		||||
      label: Peruvian
 | 
			
		||||
    -
 | 
			
		||||
      value: Polish
 | 
			
		||||
      label: Polish
 | 
			
		||||
    -
 | 
			
		||||
      value: Portuguese
 | 
			
		||||
      label: Portuguese
 | 
			
		||||
    -
 | 
			
		||||
      value: Qatari
 | 
			
		||||
      label: Qatari
 | 
			
		||||
    -
 | 
			
		||||
      value: Romanian
 | 
			
		||||
      label: Romanian
 | 
			
		||||
    -
 | 
			
		||||
      value: Russian
 | 
			
		||||
      label: Russian
 | 
			
		||||
    -
 | 
			
		||||
      value: Rwandan
 | 
			
		||||
      label: Rwandan
 | 
			
		||||
    -
 | 
			
		||||
      value: 'Saint Lucian'
 | 
			
		||||
      label: 'Saint Lucian'
 | 
			
		||||
    -
 | 
			
		||||
      value: Salvadoran
 | 
			
		||||
      label: Salvadoran
 | 
			
		||||
    -
 | 
			
		||||
      value: Samoan
 | 
			
		||||
      label: Samoan
 | 
			
		||||
    -
 | 
			
		||||
      value: 'San Marinese'
 | 
			
		||||
      label: 'San Marinese'
 | 
			
		||||
    -
 | 
			
		||||
      value: 'Sao Tomean'
 | 
			
		||||
      label: 'Sao Tomean'
 | 
			
		||||
    -
 | 
			
		||||
      value: Saudi
 | 
			
		||||
      label: Saudi
 | 
			
		||||
    -
 | 
			
		||||
      value: Scottish
 | 
			
		||||
      label: Scottish
 | 
			
		||||
    -
 | 
			
		||||
      value: Senegalese
 | 
			
		||||
      label: Senegalese
 | 
			
		||||
    -
 | 
			
		||||
      value: Serbian
 | 
			
		||||
      label: Serbian
 | 
			
		||||
    -
 | 
			
		||||
      value: Seychellois
 | 
			
		||||
      label: Seychellois
 | 
			
		||||
    -
 | 
			
		||||
      value: 'Sierra Leonean'
 | 
			
		||||
      label: 'Sierra Leonean'
 | 
			
		||||
    -
 | 
			
		||||
      value: Singaporean
 | 
			
		||||
      label: Singaporean
 | 
			
		||||
    -
 | 
			
		||||
      value: Slovakian
 | 
			
		||||
      label: Slovakian
 | 
			
		||||
    -
 | 
			
		||||
      value: Slovenian
 | 
			
		||||
      label: Slovenian
 | 
			
		||||
    -
 | 
			
		||||
      value: 'Solomon Islander'
 | 
			
		||||
      label: 'Solomon Islander'
 | 
			
		||||
    -
 | 
			
		||||
      value: Somali
 | 
			
		||||
      label: Somali
 | 
			
		||||
    -
 | 
			
		||||
      value: 'South African'
 | 
			
		||||
      label: 'South African'
 | 
			
		||||
    -
 | 
			
		||||
      value: 'South Korean'
 | 
			
		||||
      label: 'South Korean'
 | 
			
		||||
    -
 | 
			
		||||
      value: Spanish
 | 
			
		||||
      label: Spanish
 | 
			
		||||
    -
 | 
			
		||||
      value: 'Sri Lankan'
 | 
			
		||||
      label: 'Sri Lankan'
 | 
			
		||||
    -
 | 
			
		||||
      value: Sudanese
 | 
			
		||||
      label: Sudanese
 | 
			
		||||
    -
 | 
			
		||||
      value: Surinamer
 | 
			
		||||
      label: Surinamer
 | 
			
		||||
    -
 | 
			
		||||
      value: Swazi
 | 
			
		||||
      label: Swazi
 | 
			
		||||
    -
 | 
			
		||||
      value: Swedish
 | 
			
		||||
      label: Swedish
 | 
			
		||||
    -
 | 
			
		||||
      value: Swiss
 | 
			
		||||
      label: Swiss
 | 
			
		||||
    -
 | 
			
		||||
      value: Syrian
 | 
			
		||||
      label: Syrian
 | 
			
		||||
    -
 | 
			
		||||
      value: Taiwanese
 | 
			
		||||
      label: Taiwanese
 | 
			
		||||
    -
 | 
			
		||||
      value: Tajik
 | 
			
		||||
      label: Tajik
 | 
			
		||||
    -
 | 
			
		||||
      value: Tanzanian
 | 
			
		||||
      label: Tanzanian
 | 
			
		||||
    -
 | 
			
		||||
      value: Thai
 | 
			
		||||
      label: Thai
 | 
			
		||||
    -
 | 
			
		||||
      value: Togolese
 | 
			
		||||
      label: Togolese
 | 
			
		||||
    -
 | 
			
		||||
      value: Tongan
 | 
			
		||||
      label: Tongan
 | 
			
		||||
    -
 | 
			
		||||
      value: 'Trinidadian or Tobagonian'
 | 
			
		||||
      label: 'Trinidadian or Tobagonian'
 | 
			
		||||
    -
 | 
			
		||||
      value: Tunisian
 | 
			
		||||
      label: Tunisian
 | 
			
		||||
    -
 | 
			
		||||
      value: Turkish
 | 
			
		||||
      label: Turkish
 | 
			
		||||
    -
 | 
			
		||||
      value: Tuvaluan
 | 
			
		||||
      label: Tuvaluan
 | 
			
		||||
    -
 | 
			
		||||
      value: Ugandan
 | 
			
		||||
      label: Ugandan
 | 
			
		||||
    -
 | 
			
		||||
      value: Ukrainian
 | 
			
		||||
      label: Ukrainian
 | 
			
		||||
    -
 | 
			
		||||
      value: Uruguayan
 | 
			
		||||
      label: Uruguayan
 | 
			
		||||
    -
 | 
			
		||||
      value: Uzbekistani
 | 
			
		||||
      label: Uzbekistani
 | 
			
		||||
    -
 | 
			
		||||
      value: Venezuelan
 | 
			
		||||
      label: Venezuelan
 | 
			
		||||
    -
 | 
			
		||||
      value: Vietnamese
 | 
			
		||||
      label: Vietnamese
 | 
			
		||||
    -
 | 
			
		||||
      value: Welsh
 | 
			
		||||
      label: Welsh
 | 
			
		||||
    -
 | 
			
		||||
      value: Yemenite
 | 
			
		||||
      label: Yemenite
 | 
			
		||||
    -
 | 
			
		||||
      value: Zambian
 | 
			
		||||
      label: Zambian
 | 
			
		||||
    -
 | 
			
		||||
      value: Zimbabwean
 | 
			
		||||
      label: Zimbabwean
 | 
			
		||||
  allowed_values_function: ''
 | 
			
		||||
module: options
 | 
			
		||||
locked: false
 | 
			
		||||
cardinality: -1
 | 
			
		||||
translatable: true
 | 
			
		||||
indexes: {  }
 | 
			
		||||
persist_with_no_fields: false
 | 
			
		||||
custom_storage: false
 | 
			
		||||
@ -1,20 +0,0 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  module:
 | 
			
		||||
    - opencase_entities
 | 
			
		||||
id: oc_actor.field_nationality
 | 
			
		||||
field_name: field_nationality
 | 
			
		||||
entity_type: oc_actor
 | 
			
		||||
type: string
 | 
			
		||||
settings:
 | 
			
		||||
  max_length: 255
 | 
			
		||||
  is_ascii: false
 | 
			
		||||
  case_sensitive: false
 | 
			
		||||
module: core
 | 
			
		||||
locked: false
 | 
			
		||||
cardinality: 1
 | 
			
		||||
translatable: true
 | 
			
		||||
indexes: {  }
 | 
			
		||||
persist_with_no_fields: false
 | 
			
		||||
custom_storage: false
 | 
			
		||||
@ -0,0 +1,26 @@
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  module:
 | 
			
		||||
    - opencase_entities
 | 
			
		||||
    - options
 | 
			
		||||
id: oc_actor.field_sex
 | 
			
		||||
field_name: field_sex
 | 
			
		||||
entity_type: oc_actor
 | 
			
		||||
type: list_string
 | 
			
		||||
settings:
 | 
			
		||||
  allowed_values:
 | 
			
		||||
    -
 | 
			
		||||
      value: Male
 | 
			
		||||
      label: Male
 | 
			
		||||
    -
 | 
			
		||||
      value: Female
 | 
			
		||||
      label: Female
 | 
			
		||||
  allowed_values_function: ''
 | 
			
		||||
module: options
 | 
			
		||||
locked: false
 | 
			
		||||
cardinality: 1
 | 
			
		||||
translatable: true
 | 
			
		||||
indexes: {  }
 | 
			
		||||
persist_with_no_fields: false
 | 
			
		||||
custom_storage: false
 | 
			
		||||
@ -4,6 +4,7 @@ dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - user.role.authenticated
 | 
			
		||||
  module:
 | 
			
		||||
    - datetime
 | 
			
		||||
    - opencase_entities
 | 
			
		||||
    - user
 | 
			
		||||
id: activities
 | 
			
		||||
@ -13,7 +14,6 @@ description: ''
 | 
			
		||||
tag: ''
 | 
			
		||||
base_table: oc_activity_field_data
 | 
			
		||||
base_field: id
 | 
			
		||||
core: 8.x
 | 
			
		||||
display:
 | 
			
		||||
  default:
 | 
			
		||||
    display_plugin: default
 | 
			
		||||
@ -50,7 +50,7 @@ display:
 | 
			
		||||
      pager:
 | 
			
		||||
        type: mini
 | 
			
		||||
        options:
 | 
			
		||||
          items_per_page: 10
 | 
			
		||||
          items_per_page: 50
 | 
			
		||||
          offset: 0
 | 
			
		||||
          id: 0
 | 
			
		||||
          total_pages: null
 | 
			
		||||
@ -70,6 +70,72 @@ display:
 | 
			
		||||
      row:
 | 
			
		||||
        type: fields
 | 
			
		||||
      fields:
 | 
			
		||||
        activity_date_time:
 | 
			
		||||
          id: activity_date_time
 | 
			
		||||
          table: oc_activity_field_data
 | 
			
		||||
          field: activity_date_time
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: 'Date and time'
 | 
			
		||||
          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: value
 | 
			
		||||
          type: datetime_custom
 | 
			
		||||
          settings:
 | 
			
		||||
            timezone_override: ''
 | 
			
		||||
            date_format: 'd/m/Y - H:i'
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_activity
 | 
			
		||||
          entity_field: activity_date_time
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        name:
 | 
			
		||||
          id: name
 | 
			
		||||
          table: oc_activity_field_data
 | 
			
		||||
@ -233,7 +299,7 @@ display:
 | 
			
		||||
            more_link_text: ''
 | 
			
		||||
            more_link_path: ''
 | 
			
		||||
            strip_tags: false
 | 
			
		||||
            trim: true
 | 
			
		||||
            trim: false
 | 
			
		||||
            preserve_tags: ''
 | 
			
		||||
            html: false
 | 
			
		||||
          element_type: ''
 | 
			
		||||
@ -264,73 +330,6 @@ display:
 | 
			
		||||
          entity_type: oc_activity
 | 
			
		||||
          entity_field: description
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        created:
 | 
			
		||||
          id: created
 | 
			
		||||
          table: oc_activity_field_data
 | 
			
		||||
          field: created
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          label: Created
 | 
			
		||||
          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: value
 | 
			
		||||
          type: timestamp
 | 
			
		||||
          settings:
 | 
			
		||||
            date_format: short
 | 
			
		||||
            custom_date_format: ''
 | 
			
		||||
            timezone: ''
 | 
			
		||||
          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
 | 
			
		||||
          entity_type: oc_activity
 | 
			
		||||
          entity_field: created
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
        view_oc_activity:
 | 
			
		||||
          id: view_oc_activity
 | 
			
		||||
          table: oc_activity
 | 
			
		||||
@ -385,7 +384,21 @@ display:
 | 
			
		||||
          entity_type: oc_activity
 | 
			
		||||
          plugin_id: entity_link
 | 
			
		||||
      filters: {  }
 | 
			
		||||
      sorts: {  }
 | 
			
		||||
      sorts:
 | 
			
		||||
        activity_date_time:
 | 
			
		||||
          id: activity_date_time
 | 
			
		||||
          table: oc_activity_field_data
 | 
			
		||||
          field: activity_date_time
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          order: DESC
 | 
			
		||||
          exposed: false
 | 
			
		||||
          expose:
 | 
			
		||||
            label: ''
 | 
			
		||||
          entity_type: oc_activity
 | 
			
		||||
          entity_field: activity_date_time
 | 
			
		||||
          plugin_id: standard
 | 
			
		||||
      title: 'Activity List'
 | 
			
		||||
      header: {  }
 | 
			
		||||
      footer: {  }
 | 
			
		||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user