Same name and namespace in other branches
- 2.0.x src/ColorboxAttachment.php \Drupal\colorbox\ColorboxAttachment::__construct() 1 commentaire
Create an instance of ColorboxAttachment.
Fichier
-
src/
ColorboxAttachment.php, line 41
Classe
- 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');
}