some change that was done on live :(
This commit is contained in:
parent
8d345ce1f3
commit
0fe7bac594
@ -26,7 +26,6 @@ function opencase_no_cases_help($route_name, RouteMatchInterface $route_match) {
|
||||
|
||||
function opencase_no_cases_entity_base_field_info($entity_type) {
|
||||
if ($entity_type->id() === 'oc_activity') {
|
||||
$fields = array();
|
||||
$fields['actors_involved'] = BaseFieldDefinition::create('entity_reference')
|
||||
->setLabel(t('Participants'))
|
||||
->setDescription(t('People involved in this activity. To add one, start typing their name.'))
|
||||
@ -51,9 +50,9 @@ function opencase_no_cases_entity_base_field_info($entity_type) {
|
||||
])
|
||||
->setDefaultValueCallback('opencase_no_cases_actors_involved_callback')
|
||||
->setRequired(TRUE);
|
||||
}
|
||||
return $fields;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* When creating an activity, it sets the first involved party to the actor
|
||||
|
Reference in New Issue
Block a user