Added reporting menu with one link for Custom Report
This commit is contained in:
parent
bfef673d42
commit
5cde32c975
@ -0,0 +1,23 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- system.menu.opencase_reporting
|
||||||
|
module:
|
||||||
|
- system
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: opencase_reporting_menu
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_first
|
||||||
|
weight: -8
|
||||||
|
provider: null
|
||||||
|
plugin: 'system_menu_block:opencase_reporting'
|
||||||
|
settings:
|
||||||
|
id: 'system_menu_block:opencase_reporting'
|
||||||
|
label: 'Reporting'
|
||||||
|
provider: system
|
||||||
|
label_display: visible
|
||||||
|
level: 1
|
||||||
|
depth: 0
|
||||||
|
visibility: { }
|
@ -0,0 +1,7 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: opencase_reporting
|
||||||
|
label: 'OpenCase Reporting'
|
||||||
|
description: ''
|
||||||
|
locked: false
|
@ -0,0 +1,6 @@
|
|||||||
|
opencase_reporting.new_report:
|
||||||
|
title: 'Custom report'
|
||||||
|
description: 'Make your own report'
|
||||||
|
menu_name: opencase_reporting
|
||||||
|
url: internal:/opencase/reporting/actors?title=Custom+Report
|
||||||
|
weight: 0
|
@ -47,6 +47,8 @@ function opencase_reporting_uninstall() {
|
|||||||
'views.view.reporting_actors',
|
'views.view.reporting_actors',
|
||||||
'block.block.facet_actortype',
|
'block.block.facet_actortype',
|
||||||
'block.block.facet_created',
|
'block.block.facet_created',
|
||||||
|
'block.block.opencase_reporting_menu',
|
||||||
|
'system.menu.opencase_reporting'
|
||||||
];
|
];
|
||||||
foreach($configs as $config) {
|
foreach($configs as $config) {
|
||||||
Drupal::configFactory()->getEditable($config)->delete();
|
Drupal::configFactory()->getEditable($config)->delete();
|
||||||
|
Reference in New Issue
Block a user