You are here

function bean_bean_types in Bean (for Drupal 7) 7

Implements hook_bean_types().

File

./bean.module, line 971
Block Entity

Code

function bean_bean_types() {
  $plugins = array();
  $plugins['bean'] = array(
    'handler' => array(
      'class' => 'BeanPlugin',
      'file' => 'BeanPlugin.class.php',
      'path' => drupal_get_path('module', 'bean') . '/plugins',
    ),
  );
  $plugins['bean_default'] = array(
    'abstract' => TRUE,
    'handler' => array(
      'class' => 'BeanDefault',
      'parent' => 'bean',
      'file' => 'BeanDefault.class.php',
      'path' => drupal_get_path('module', 'bean') . '/plugins',
    ),
  );
  return $plugins;
}