The below implementation of hook_block_info
renders a block in the 'content' region of my theme. Unfortunately, it also appears in the content region of the administrative theme. The documentation states:
properties: (optional) Array of additional metadata to add to the block. Common properties include: administrative:
Boolean that categorizes this block as usable in an administrative context. This might include blocks that help an administrator approve/deny comments, or view recently created user accounts.
/**
* Implements hook_block_info().
*/
function mymodule_block_info() {
$blocks['diary'] = array(
'info' => t('Diary'),
'properties' => array('administrative' => FALSE),
'weight' => 1,
'status' => TRUE,
'region' => 'content',
);
return $blocks;
}
However, my block is still appearing in the 'content' region of the administrative theme?