Same name and namespace in other branches
- 8.x-1.x src/ActivationCheck.php \Drupal\colorbox\ActivationCheck::isActive() 1 comment
Overrides ActivationCheckInterface::isActive
File
-
src/
ActivationCheck.php, line 38
Class
- ActivationCheck
- Implementation of ActivationCheckInterface.
Namespace
Drupal\colorboxCode
public function isActive() {
return $this->request
->get('colorbox') !== 'no';
}