function paging_block_view in Paging 7
Implements hook_block_view().
File
- ./
paging.module, line 442 - Allows a node to be broken into multiple pages via a tag.
Code
function paging_block_view($delta = '') {
// This example is adapted from node.module.
$block = array();
switch ($delta) {
case 'paging_pager':
$block['subject'] = t('Page navigation');
$block['content'] = array(
'#markup' => paging_build_names(),
);
break;
}
return $block;
}