You are here

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

Check if library should be activated for the current page.

Return value

bool If library should be active.

Overrides ActivationCheckInterface::isActive

File

src/ActivationCheck.php, line 38

Class

ActivationCheck
Implementation of ActivationCheckInterface.

Namespace

Drupal\jquery_calendar

Code

public function isActive() {
  return true;
  return $this->request
    ->get('colorbox') !== 'no';
}