I have custom module with new block. When this block is displayed, the output is wrapped with html tags from block.tpl.php template:
<section id="<?php print $block_html_id; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
I would like to display only content without the wrapped html around. I can accomplish this by overriding the block.tpl.php file in the theme, however. This requires me to go into every possible theme and override the template file every time installing the module. How to avoid that? How to display only content of the custom block from custom module without overriding template file? Is there some attribute that i can set in the block render array like #theme_wrapper?:
$block['content'] = array(
'#markup' => '<div>Hello World!</div>',
// '#theme_wrappers' => array('attempt_to_override'),
)
I was thinking the 'theme_wrappers' attribute can be used, but i wasn't able. Thank you for any help