public function Ie9CspSubscriber::__construct in Content-Security-Policy 8
Ie9CspSubscriber constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The Config Factory service.
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The Module Handler service.
File
- src/
EventSubscriber/ Ie9CspSubscriber.php, line 47
Class
- Ie9CspSubscriber
- Alter CSP policy for IE9 Compatibility.
Namespace
Drupal\csp\EventSubscriberCode
public function __construct(ConfigFactoryInterface $configFactory, ModuleHandlerInterface $moduleHandler) {
$this->configFactory = $configFactory;
$this->moduleHandler = $moduleHandler;
}