You are here

function fb_social_boxes_plugins in Facebook social plugins integration 6.2

Same name and namespace in other branches
  1. 7.2 fb_social.module \fb_social_boxes_plugins()

Implementation of hook_boxes_plugins().

File

./fb_social.module, line 448

Code

function fb_social_boxes_plugins() {
  $info = array();
  $path = drupal_get_path('module', 'fb_social') . '/plugins/boxes';
  $info['fb_social_default'] = array(
    'handler' => array(
      'class' => 'fb_social_default',
      'file' => 'fb_social_default.inc',
      'path' => $path,
      'parent' => 'box',
    ),
  );
  $info['fb_social_like'] = array(
    'title' => 'facebook like',
    'handler' => array(
      'class' => 'fb_social_like',
      'file' => 'fb_social_like.inc',
      'path' => $path,
      'parent' => 'fb_social_default',
    ),
  );
  $info['fb_social_likebox'] = array(
    'title' => 'facebook likebox',
    'handler' => array(
      'class' => 'fb_social_likebox',
      'file' => 'fb_social_likebox.inc',
      'path' => $path,
      'parent' => 'fb_social_default',
    ),
  );
  $info['fb_social_send'] = array(
    'title' => 'facebook send',
    'handler' => array(
      'class' => 'fb_social_send',
      'file' => 'fb_social_send.inc',
      'path' => $path,
      'parent' => 'fb_social_default',
    ),
  );
  $info['fb_social_facepile'] = array(
    'title' => 'facebook facepile',
    'handler' => array(
      'class' => 'fb_social_facepile',
      'file' => 'fb_social_facepile.inc',
      'path' => $path,
      'parent' => 'fb_social_default',
    ),
  );
  $info['fb_social_livestream'] = array(
    'title' => 'facebook livestream',
    'handler' => array(
      'class' => 'fb_social_livestream',
      'file' => 'fb_social_livestream.inc',
      'path' => $path,
      'parent' => 'fb_social_default',
    ),
  );
  $info['fb_social_comments'] = array(
    'title' => 'facebook comments',
    'handler' => array(
      'class' => 'fb_social_comments',
      'file' => 'fb_social_comments.inc',
      'path' => $path,
      'parent' => 'fb_social_default',
    ),
  );

  // Truncate the name of the plugin because the delta column in the blocks
  // table is limited to 32 characters.
  $info['fb_social_recommend'] = array(
    'title' => 'facebook recommendations',
    'handler' => array(
      'class' => 'fb_social_recommendations',
      'file' => 'fb_social_recommendations.inc',
      'path' => $path,
      'parent' => 'fb_social_default',
    ),
  );
  $info['fb_social_activityf'] = array(
    'title' => 'facebook activity',
    'handler' => array(
      'class' => 'fb_social_activityfeed',
      'file' => 'fb_social_activityfeed.inc',
      'path' => $path,
      'parent' => 'fb_social_default',
    ),
  );
  return $info;
}