You are here

public function Attachment::__construct in jQuery World Calendars API 3.x

Create an instance of ColorboxAttachment.

File

src/Attachment.php, line 42

Class

Attachment
An implementation of PageAttachmentInterface for the library.

Namespace

Drupal\jquery_calendar

Code

public function __construct(ActivationCheckInterface $activation, ModuleHandlerInterface $module_handler, ConfigFactoryInterface $config) {
  $this->activation = $activation;
  $this->moduleHandler = $module_handler;
  $this->settings = $config
    ->get('jquery_calendar.settings');
}