csp.services.yml in Content-Security-Policy 8
File
csp.services.ymlView source
- services:
- csp.response_listener:
- class: Drupal\csp\EventSubscriber\ResponseCspSubscriber
- arguments:
- - '@config.factory'
- - '@csp.library_policy_builder'
- - '@plugin.manager.csp_reporting_handler'
- - '@event_dispatcher'
- tags:
- - { name: event_subscriber }
- csp.library_policy_builder:
- class: Drupal\csp\LibraryPolicyBuilder
- arguments:
- - '@cache.default'
- - '@module_handler'
- - '@theme_handler'
- - '@library.discovery'
-
- plugin.manager.csp_reporting_handler:
- class: Drupal\csp\ReportingHandlerPluginManager
- parent: default_plugin_manager
-
- csp.core_csp_subscriber:
- class: Drupal\csp\EventSubscriber\CoreCspSubscriber
- arguments:
- - '@library.dependency_resolver'
- - '@module_handler'
- tags:
- - { name: event_subscriber }
- csp.ie9_csp_subscriber:
- class: Drupal\csp\EventSubscriber\Ie9CspSubscriber
- arguments:
- - '@config.factory'
- - '@module_handler'
- tags:
- - { name: event_subscriber }
-
- logger.channel.csp:
- parent: logger.channel_base
- arguments: ['csp']