function casetracker_block_view in Case Tracker 7
Implements hook_block_view().
File
- ./
casetracker.module, line 702 - Enables the handling of projects and their cases.
Code
function casetracker_block_view($delta) {
switch ($delta) {
case 'case':
if (user_access('access content')) {
$block['subject'] = t('Jump to case');
$block['content'] = drupal_get_form('casetracker_block_jump_to_case_number');
}
break;
}
return $block;
}