Add subpanel button mappers

- Add subpanel button mappers as view definition mapper
- Add support for adding subpanel top button mappers
This commit is contained in:
Clemente Raposo 2021-03-18 10:31:06 +00:00 committed by Dillon-Brown
parent 565ecacbac
commit 4d7f833d1a
5 changed files with 178 additions and 1 deletions

View file

@ -52,6 +52,8 @@ services:
tags: [ 'app.data.filter.mapper' ]
App\Service\StatisticsProviderInterface:
tags: [ 'app.data.statistics.handler' ]
\App\Legacy\ViewDefinitions\SubpanelButtonMapperInterface:
tags: [ 'subpanel.button.definition.mapper' ]

# makes classes in src/ available to be used as services
# this creates a service per class whose id is the fully-qualified class name
@ -155,3 +157,8 @@ services:
# inject all services tagged with app.data.filter.mapper as first argument
arguments:
- !tagged { tag: 'app.data.filter.mapper' }

App\Legacy\ViewDefinitions\SubpanelButtonMappers:
# inject all services tagged with subpanel.button.definition.mapper as first argument
arguments:
- !tagged { tag: 'subpanel.button.definition.mapper' }