This repository has been archived on 2022-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
opencase/modules/opencase_cases/oc_case.page.inc

27 lines
554 B
PHP
Raw Normal View History

2018-04-29 11:58:46 +00:00
<?php
/**
* @file
* Contains oc_case.page.inc.
*
* Page callback for Case entities.
*/
use Drupal\Core\Render\Element;
use Drupal\opencase;
2018-04-29 11:58:46 +00:00
/**
* 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) {
_template_preprocess_entity($variables);
2018-04-29 11:58:46 +00:00
}