You are here

function countdown_boxes_plugins in Countdown 7.2

Implements hook_boxes_plugins().

File

./countdown.module, line 36
Count to, or from, a specified date and display the output in a block

Code

function countdown_boxes_plugins() {
  $info = array();
  $path = drupal_get_path('module', 'countdown') . '/plugins';
  $info['countdown'] = array(
    'title' => 'Countdown box',
    'handler' => array(
      'class' => 'countdown_box',
      'file' => 'countdown_box.inc',
      'path' => $path,
    ),
  );
  return $info;
}