You are here

function boxes_boxes_plugins in Boxes 6

Same name and namespace in other branches
  1. 7 boxes.module \boxes_boxes_plugins()

Implementation of hook_boxes_plugins().

File

./boxes.module, line 409

Code

function boxes_boxes_plugins() {
  $info = array();
  $path = drupal_get_path('module', 'boxes') . '/plugins';
  $info['box'] = array(
    'handler' => array(
      'class' => 'boxes_box',
      'file' => 'boxes_box.inc',
      'path' => $path,
    ),
  );
  $info['simple'] = array(
    'title' => 'Box',
    'handler' => array(
      'parent' => 'box',
      'class' => 'boxes_simple',
      'file' => 'boxes_simple.inc',
      'path' => $path,
    ),
  );
  return $info;
}