在显示 Drupal 表单之前,我需要显示一些自定义 HTML/处理代码。如何返回自定义 HTML 和表单?我的代码是:
function myfunction() {
global $base_path, $base_url;
$output = ""; // Clear the variable, just in case
include ('includes/SOME_HTML_OUTPUT.inc');
return $output; //NOT GOING TO WORK
return drupal_get_form('my_form');
}