I have implemented hook_block_info() to define a block inside a custom module 'x'. I have followed the documentation and believe the values in my array are correct. I have cleared all caches multiple times. I have disabled and re-enabled my module. I have tried setting status to both 0 and 1.
What is strange is that if I place a DPM() inside the x_block_info_alter(), I can see the block as an array when I visit the admin page. However, in the actual block list, it's not there!
Is there something wrong with my code that I can't see?
function x_block_info() {
$blocks['mname'] = array(
'info' => t('Admin title'),
'cache' => DRUPAL_NO_CACHE,
'status' => 1,
);
return $blocks;
}