This is my first question on here--though I've used it for years for reference--so, please forgive me if this is trivial/already answered, but I wasn't able to find a solution.
I have a render array being returned to the 'content' attribute of a block view array. I'm just returning a table as of right now.
<?php
$data = array(
'#markup' => theme('table', array('header' => $header, 'rows' => $rows)),
);
return $data;
?>
What I'd like to do is add additional markup at the beginning. I've tried adding a '#prefix' attribute, but the results weren't as expected; I ended up with HTML outside of the block. Anything else I thought would work seems to cause PHP errors or do nothing at all.