ActivationCheckInterface.php 310 B

123456789101112131415161718
  1. <?php
  2. namespace Drupal\colorbox;
  3. /**
  4. * An interface for checking if colorbox should be active.
  5. */
  6. interface ActivationCheckInterface {
  7. /**
  8. * Check if colorbox should be activated for the current page.
  9. *
  10. * @return bool
  11. * If colorbox should be active.
  12. */
  13. public function isActive();
  14. }