You are here

function twitter_timeline_bean_types in Twitter Timeline 7

Implements hook_bean_types().

File

./twitter_timeline.module, line 18
Twitter Timeline module.

Code

function twitter_timeline_bean_types() {
  $plugins = array();
  $plugin_path = drupal_get_path('module', 'twitter_timeline') . '/plugins/bean';
  $plugins['twitter_timeline'] = array(
    'label' => t('Twitter Timeline'),
    'description' => t('Shows an embedded twitter timeline widget.'),
    'handler' => array(
      'class' => 'TwitterTimelineBean',
      'parent' => 'bean',
      'path' => $plugin_path,
      'file' => 'twitter_timeline.inc',
    ),
  );
  return $plugins;
}