Added a basic index, view & facets for reporting

it is not a useful report, but it doesnt rely on defaults. It's just so that I can work on the reporting without the defaults. General stuff like css and preset support will not be dependent on the defaults. By the time this is properly released, I will have developed a way of generating what is needed for reporting automatically.
This commit is contained in:
Naomi
2018-09-06 19:11:49 +01:00
parent 2be2cc7837
commit 393ce2501c
9 changed files with 802 additions and 1 deletions

View File

@ -30,7 +30,14 @@ function opencase_reporting_help($route_name, RouteMatchInterface $route_match)
function opencase_reporting_uninstall() {
$configs = [
'search_api.server.opencase_reporting_server',
'search_api.index.opencase_reporting_actors'
'search_api.index.opencase_reporting_actors',
'facets.facet.actor_type',
'facets.facet.actor_type_export',
'facets.facet.created',
'facets.facet.created_export',
'views.view.reporting_actors',
'block.block.facet_actortype',
'block.block.facet_created',
];
foreach($configs as $config) {
Drupal::configFactory()->getEditable($config)->delete();