Same filename and directory in other branches
  1. 8.x-1.x src/ActivationCheckInterface.php 1 comment

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

Title Deprecated Summary
ActivationCheckInterface An interface for checking if colorbox should be active.