I am running into an issue where my block won't show up in the admin section of my site. I've added it to example_block_info()
where the other existing blocks are declared. I've also added content in example_block_view()
:
/*block_info*/
$blocks['example'] = array(
'info' => 'Example',
'status' => TRUE,
'visibility' => BLOCK_VISIBILITY_LISTED,
'pages' => 'example/1*',
'cache' => DRUPAL_NO_CACHE
);
/*block_view*/
switch($delta){
...
case 'example':
$block['content'] = '
//content
';
break;
}
Am I missing something? All the other blocks show up and work fine. I can modify them as well. This one doesn't work/show up.