some change that was done on live :(

This commit is contained in:
dh_6sdxgm 2021-08-06 04:40:48 -07:00
parent 8d345ce1f3
commit 0fe7bac594
1 changed files with 1 additions and 2 deletions

View File

@ -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,8 +50,8 @@ function opencase_no_cases_entity_base_field_info($entity_type) {
])
->setDefaultValueCallback('opencase_no_cases_actors_involved_callback')
->setRequired(TRUE);
return $fields;
}
return $fields;
}
/**