function visually_impaired_module_block_view in Visually Impaired Support (module) 7
Implements hook_block_view().
File
- ./
visually_impaired_module.module, line 78 - Provides version for visually impaired people.
Code
function visually_impaired_module_block_view($delta = '') {
$block = [];
switch ($delta) {
case 'visually_impaired_block1':
$block['subject'] = '';
$block['content'] = [
drupal_get_form('visually_impaired_module_create_form1'),
];
break;
case 'visually_impaired_block2':
$block['subject'] = '';
$block['content'] = [
drupal_get_form('visually_impaired_module_create_form2'),
];
break;
}
return $block;
}