You are here

interface ActivationCheckInterface in Colorbox 8

An interface for checking if colorbox should be active.

Hierarchy

Expanded class hierarchy of ActivationCheckInterface

All classes that implement ActivationCheckInterface

File

src/ActivationCheckInterface.php, line 8

Namespace

Drupal\colorbox
View source
interface ActivationCheckInterface {

  /**
   * Check if colorbox should be activated for the current page.
   *
   * @return bool
   *   If colorbox should be active.
   */
  public function isActive();

}

Members

Namesort descending Modifiers Type Description Overrides
ActivationCheckInterface::isActive public function Check if colorbox should be activated for the current page. 1