Allowed activity types are a property of case type

This commit is contained in:
naomi
2018-06-13 16:29:21 +02:00
parent e601fde1ef
commit fd1a0d5156
3 changed files with 28 additions and 0 deletions

View File

@ -8,5 +8,8 @@ opencase_entities.oc_case_type.*:
label:
type: label
label: 'Label'
allowedActivityTypes:
type: sequence
label: 'Allowed Activity Types'
uuid:
type: string

View File

@ -55,4 +55,10 @@ class OCCaseType extends ConfigEntityBundleBase implements OCCaseTypeInterface {
*/
protected $label;
/**
* Activity types that can be attached to this type of case.
*
* @var array
*/
protected $allowedActivityTypes;
}