You are here

function twitter_pull_boxes_plugins in Twitter Pull 7.2

Same name and namespace in other branches
  1. 6.2 twitter_pull.module \twitter_pull_boxes_plugins()
  2. 7 twitter_pull.module \twitter_pull_boxes_plugins()

Implements hook_boxes_plugins().

File

./twitter_pull.module, line 312
Twitter Pull module.

Code

function twitter_pull_boxes_plugins() {
  $info = array();
  $path = drupal_get_path('module', 'twitter_pull') . '/plugins';
  $info['twitter'] = array(
    'title' => 'Twitter Box',
    'handler' => array(
      'parent' => 'box',
      'class' => 'twitter_pull_box',
      'file' => 'twitter_pull_box.inc',
      'path' => $path,
    ),
  );
  return $info;
}