imports:
  - { resource: Backend/DashboardWidgets.yaml }

services:
  _defaults:
    autowire: true
    autoconfigure: true
    public: false

  TYPO3\CMS\Dashboard\:
    resource: '../Classes/*'
    exclude: '../Classes/Widgets/*'

  TYPO3\CMS\Dashboard\Controller\DashboardController:
    public: true

  TYPO3\CMS\Dashboard\Controller\WidgetAjaxController:
    public: true

  TYPO3\CMS\Dashboard\EventListener\AfterBackendPageRenderEventListener:
    tags:
      - name: event.listener
        event: TYPO3\CMS\Backend\Controller\Event\AfterBackendPageRenderEvent
