opigno_dashboard-8.x-1.8/opigno_dashboard.services.yml
opigno_dashboard.services.yml
services:
opigno_dashboard.block:
class: Drupal\opigno_dashboard\BlockService
arguments:
- '@plugin.manager.block'
- '@renderer'
- '@current_user'
- '@config.factory'
- '@module_handler'
- '@database'
- '@entity_type.manager'
- '@logger.factory'
opigno_dashboard.redirect_on_access_denied:
class: Drupal\opigno_dashboard\EventSubscriber\RedirectOnAccessDeniedSubscriber
arguments:
- '@current_user'
- '@current_route_match'
- '@path.current'
- '@request_stack'
tags:
- { name: event_subscriber }
cache_context.url.path.is_current_user_page:
class: Drupal\opigno_dashboard\Cache\Context\IsCurrentUserPageCacheContext
arguments: ['@current_route_match', '@current_user']
tags:
- { name: cache.context }
