removed now-unused code
This commit is contained in:
parent
86c0fb1f65
commit
aa5dd4c48b
@ -68,20 +68,6 @@ function opencase_cases_theme() {
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return Drupal\opencase_cases\entity\OCCaseFee[]
|
|
||||||
*/
|
|
||||||
function opencase_cases_get_case_fees(Drupal\opencase_cases\entity\OCCase $case): array {
|
|
||||||
$query = \Drupal::entityQuery('oc_case_fee')
|
|
||||||
->condition('oc_case.target_id', $case->id());
|
|
||||||
$case_fee_ids = $query->execute();
|
|
||||||
$case_fees = [];
|
|
||||||
foreach($case_fee_ids as $id) {
|
|
||||||
$case_fees[] = Drupal\opencase_cases\entity\OCCaseFee::load($id);
|
|
||||||
}
|
|
||||||
return $case_fees;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Drupal\opencase_cases\entity\OCActivity[]
|
* @return Drupal\opencase_cases\entity\OCActivity[]
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user