Simplified reporting. Presets will be hard coded

This commit is contained in:
Naomi
2018-10-01 14:35:10 +01:00
parent 9f735eb492
commit bfef673d42
6 changed files with 137 additions and 7 deletions

View File

@ -23,6 +23,14 @@ function opencase_reporting_help($route_name, RouteMatchInterface $route_match)
}
}
/**
* Implements hook_page_attachments
*
* Add the opencase library to every page
*/
function opencase_reporting_page_attachments(array &$page) {
$page['#attached']['library'][] = 'opencase_reporting/opencase-reporting-lib';
}
/**
* Implements hook_uninstall().