Same name and namespace in other branches
- 8.x-1.x src/ActivationCheck.php \Drupal\colorbox\ActivationCheck::__construct() 1 comment
Create an instace of ActivationCheck.
File
-
src/
ActivationCheck.php, line 30
Class
- ActivationCheck
- Implementation of ActivationCheckInterface.
Namespace
Drupal\colorboxCode
public function __construct(ConfigFactoryInterface $config, RequestStack $request) {
$this->settings = $config->get('colorbox.settings');
$this->request = $request->getCurrentRequest();
}