You are here

function forena_bean_types in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 forena.module \forena_bean_types()
  2. 7.3 forena.module \forena_bean_types()
  3. 7.4 forena.module \forena_bean_types()

Implements hook_bean_types().

File

./forena.module, line 698

Code

function forena_bean_types() {
  $plugins = array();
  $plugin_path = drupal_get_path('module', 'forena') . '/bean';
  $plugins['forena'] = array(
    'label' => t('Forena report'),
    'description' => t('Display a report.'),
    'handler' => array(
      'class' => 'FrxBean',
      'parent' => 'bean',
      'path' => $plugin_path,
      'file' => 'FrxBean.inc',
    ),
    'path' => $plugin_path,
    'file' => 'FrxBean.inc',
  );
  return $plugins;
}