ds-site/Configuration/Services.yaml

45 lines
1.3 KiB
YAML
Raw Normal View History

2020-02-23 22:02:22 +01:00
services:
_defaults:
autowire: true
autoconfigure: true
public: false
DanielSiepmann\DsSite\:
resource: '../Classes/*'
2020-02-24 13:57:33 +01:00
# Widgets
2020-02-23 22:02:22 +01:00
DanielSiepmann\DsSite\Dashboard\Widgets\OwnRssFeed:
class: DanielSiepmann\DsSite\Dashboard\Widgets\OwnRssFeed
arguments: ['ownRss']
tags:
- name: dashboard.widget
identifier: ownRss
widgetGroups: 'own'
2020-02-26 07:57:11 +01:00
# Foreign Classes
DanielSiepmann\Tracking\DI\Dashboard\Widgets\Settings\PageViewsBar:
factory:
- '@DanielSiepmann\Tracking\Dashboard\Widgets\SettingsFactory'
- 'fromArray'
arguments:
$widgetIdentifier: 'pageViewsBar'
$settings:
blackListedPages: [1, 11, 38]
DanielSiepmann\Tracking\DI\Dashboard\Widgets\Settings\PageViewsPerPageDoughnut:
factory:
- '@DanielSiepmann\Tracking\Dashboard\Widgets\SettingsFactory'
- 'fromArray'
arguments:
$widgetIdentifier: 'pageViewsPerPageDoughnut'
$settings:
blackListedPages: [1, 11, 38]
2020-02-27 19:47:16 +01:00
DanielSiepmann\Tracking\DI\Dashboard\Widgets\Settings\NewestPageviewsList:
factory:
- '@DanielSiepmann\Tracking\Dashboard\Widgets\SettingsFactory'
- 'fromArray'
arguments:
$widgetIdentifier: 'pageViewsPerPageDoughnut'
$settings:
blackListedPages: [1, 11, 38]