You are here

ActivationCheckInterface.php in Colorbox 8

Namespace

Drupal\colorbox

File

src/ActivationCheckInterface.php
View source
<?php

namespace Drupal\colorbox;


/**
 * An interface for checking if colorbox should be active.
 */
interface ActivationCheckInterface {

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

}

Interfaces

Namesort descending Description
ActivationCheckInterface An interface for checking if colorbox should be active.