function twitter_profile_widget_block in Twitter Profile Widget 6
Implementation of hook_block().
File
- ./
twitter_profile_widget.module, line 41
Code
function twitter_profile_widget_block($op = 'list', $delta = 0, $edit = array()) {
if ($op == 'list') {
$block[] = array(
'info' => t('Twitter Profile Widget block'),
'weight' => 0,
);
return $block;
}
elseif ($op == 'view') {
$block = array(
'subject' => '<ins class = "tpw_title">' . t('Twitter Updates') . '</ins>',
'content' => twitter_profile_widget_block_content(),
);
return $block;
}
}