You are here

function boxes_boxes_types in Boxes 7.2

Implements hook_box_types().

File

./boxes.module, line 762

Code

function boxes_boxes_types() {
  $plugins = array();
  $plugins['box'] = array(
    'handler' => array(
      'class' => 'BoxPlugin',
      'file' => 'base.inc',
      'path' => drupal_get_path('module', 'boxes') . '/plugins',
    ),
  );
  $plugins['box_default'] = array(
    'abstract' => TRUE,
    'handler' => array(
      'class' => 'BoxDefault',
      'parent' => 'box',
      'file' => 'base.inc',
      'path' => drupal_get_path('module', 'boxes') . '/plugins',
    ),
  );
  return $plugins;
}