You are here

function twit_submit_block_view in Heartbeat 8

Parameters

$delta:

Return value

array

File

modules/statusmessage/includes/twit.php, line 468

Code

function twit_submit_block_view($delta) {
  $block = array();
  $twit_form = drupal_get_form('twit_submit_block_form');
  switch ($delta) {
    case 'twit_submit':
      $block['subject'] = t('Widget to submit tweets and save as node');
      $block['content'] = drupal_render($twit_form);
      break;
  }
  return $block;
}