You are here

function facebook_pull_block_view in Facebook Pull 7.3

Same name and namespace in other branches
  1. 7 facebook_pull.module \facebook_pull_block_view()
  2. 7.2 facebook_pull.module \facebook_pull_block_view()

Implements hook_block_view().

File

./facebook_pull.module, line 87
Facebook Pull Module for getting content from Facebook graph.

Code

function facebook_pull_block_view($delta = '') {
  $block = array();
  switch ($delta) {
    case 'facebook_pull_default':
      $block = array(
        'subject' => t('Facebook stream'),
        'content' => _facebook_pull_render_block(),
      );
      break;
  }
  return $block;
}