I need to enable block from my custom module, to show block when the module is enabled, I set the status 1, but nothing happens until I manually change in Structure > Blocks .
function test_block_info() {
$blocks['my-block-id'] = array(
'info' => t('My block'),
'status' => 1,
'region' => 'sidebar_first',
'cache' => DRUPAL_NO_CACHE,
);
return $blocks;
}