function menu_bean_bean_types in Menu Bean 7
Implements hook_bean_types().
Beans uses ctools plugins to define the block types. All plugin files must be registered in the .info file.
File
- ./
menu_bean.module, line 23 - Bean Plugin definition
Code
function menu_bean_bean_types() {
$plugins = array();
$plugins['menu_bean'] = array(
'label' => t('Menu'),
'description' => t('A Block Type that allows the creation of dynamic menus'),
'abstract' => FALSE,
'handler' => array(
'class' => 'MenuBeanType',
'parent' => 'bean',
'path' => drupal_get_path('module', 'menu_bean') . '/plugins',
'file' => 'MenuBeanType.class.php',
),
);
return $plugins;
}