Semi-new to Drupal. I'm trying to find a way to render HTML inside my custom module.
Right now I'm using this method
$page = 'hello world';
return $page;
Which can get pretty dirty once you had some logic into it.
Is there a better way to do this? Maybe render it to some kind of template file and pass an array of vars?
Any help is appreciated :)
hook_theme()
– Clive♦ Apr 30 at 13:52