function boxes_boxes_plugins in Boxes 7
Same name and namespace in other branches
- 6 boxes.module \boxes_boxes_plugins()
Implements hook_boxes_plugins().
File
- ./
boxes.module, line 652 - Core functionality for boxes module.
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;
}