Same name and namespace in other branches
- 8.x-1.x src/ColorboxAttachment.php \Drupal\colorbox\ColorboxAttachment::__construct() 1 comment
Create an instance of ColorboxAttachment.
File
-
src/
ColorboxAttachment.php, line 41
Class
- ColorboxAttachment
- An implementation of PageAttachmentInterface for the colorbox library.
Namespace
Drupal\colorboxCode
public function __construct(ActivationCheckInterface $activation, ModuleHandlerInterface $module_handler, ConfigFactoryInterface $config) {
$this->activation = $activation;
$this->moduleHandler = $module_handler;
$this->settings = $config->get('colorbox.settings');
}