Same name and namespace in other branches
  1. 8.x-1.x src/ActivationCheckInterface.php \Drupal\colorbox\ActivationCheckInterface 1 comment

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

Title Sort descending Modifiers Object type Summary Overrides
ActivationCheckInterface::isActive public function Check if colorbox should be activated for the current page. 1