You are here

function wsbeans_bean_types in Web Service Data 7

Implements hook_bean_types().

File

modules/wsbeans/wsbeans.module, line 17
wsbeans module file

Code

function wsbeans_bean_types() {
  $plugins = array();
  $plugin_path = drupal_get_path('module', 'wsbeans') . '/plugins/bean';
  $plugins['wsbean'] = array(
    'label' => t('Web Service Bean'),
    'description' => t('Bean that displays web service data'),
    'handler' => array(
      'class' => 'WsBean',
      'parent' => 'bean',
    ),
    'path' => $plugin_path,
    'file' => 'wsbeans_wsbean.inc',
  );
  return $plugins;
}