You are here

function colorbox_init in Colorbox 7

Same name and namespace in other branches
  1. 6 colorbox.module \colorbox_init()
  2. 7.2 colorbox.module \colorbox_init()

Implements hook_init().

File

./colorbox.module, line 56
A light-weight, customizable lightbox plugin for jQuery 1.3

Code

function colorbox_init() {

  // Do not load colorbox during the Drupal installation process, e.g. if part
  // of installation profiles.
  if (!drupal_installation_attempted()) {
    _colorbox_doheader();
  }
}