function casetracker_block_jump_to_case_number in Case Tracker 7
Same name and namespace in other branches
- 5 casetracker.module \casetracker_block_jump_to_case_number()
- 6 casetracker.module \casetracker_block_jump_to_case_number()
Form for "Jump to case number" block.
1 string reference to 'casetracker_block_jump_to_case_number'
- casetracker_block_view in ./
casetracker.module - Implements hook_block_view().
File
- ./
casetracker.module, line 717 - Enables the handling of projects and their cases.
Code
function casetracker_block_jump_to_case_number($form) {
$form = array();
$form['case_number'] = array(
'#maxlength' => 60,
'#required' => TRUE,
'#size' => 15,
'#title' => t('Case number'),
'#type' => 'textfield',
'#prefix' => '<div class="container-inline">',
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Go'),
'#suffix' => '</div>',
);
return $form;
}