You are here

function fb_social_likebox_block in Facebook social plugins integration 6

Implementation of hook_block

File

modules/fb_social_likebox/fb_social_likebox.module, line 25

Code

function fb_social_likebox_block($op = 'list', $delta = 0, $edit = array()) {
  switch ($op) {
    case 'list':
      $blocks['likebox'] = array(
        'info' => t('fb like box'),
      );
      return $blocks;
    case 'view':
      switch ($delta) {
        case 'likebox':
          return array(
            'subject' => t(''),
            'content' => theme('fb_social_likebox_block_likebox_view'),
          );
      }
      break;
  }
}