You are here

function fb_devel_block in Drupal for Facebook 5.2

Same name and namespace in other branches
  1. 5 fb_devel.module \fb_devel_block()
  2. 6.3 fb_devel.module \fb_devel_block()
  3. 6.2 fb_devel.module \fb_devel_block()

File

./fb_devel.module, line 160

Code

function fb_devel_block($op = 'list', $delta = 0, $edit = array()) {
  if ($op == 'list') {
    $items[0]['info'] = t('Facebook Devel Page Info');
    return $items;
  }
  else {
    if ($op == 'view') {
      return array(
        'subject' => t('Facebook Devel Page Info'),
        'content' => drupal_get_form('fb_devel_canvas_info'),
      );
    }
  }
}