You are here

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

Create an instance of ActivationCheck.

File

src/ActivationCheck.php, line 30

Class

ActivationCheck
Implementation of ActivationCheckInterface.

Namespace

Drupal\jquery_calendar

Code

public function __construct(ConfigFactoryInterface $config, RequestStack $request) {
  $this->settings = $config
    ->get('jquery_calendar.settings');
  $this->request = $request
    ->getCurrentRequest();
}