The functions above will pass the Drupal form array into a template file. For normal themes place these snippets in your template.php. Modify Drupals Comment form using HOOK
Routing Them to a Template. There's only one way, hook.
Make 'template' the default output option for hook. Templates should be the default output option. For example, in node. The default option of 'function' is currently defined in (at least) \Drupal\Core\Theme\Registry: :process.
Extension() and documentation would need to be updated (in at least hook.
I don't know why but there really aren't a whole lot of Drupal development resources out there for theming forms in Drupal 6. Template Suggestions in Drupal 7. In Drupal 6 you could implement a hook. For more information on Drupal 6 template suggestions check. I'm trying to get a very simple module to load a template file using drupal's hook. How to a use a template file to theme a. How to Craft Custom Theme Hook Suggestions and. Drupal 8 custom theme hook suggestions and templates.