Detect return $output in hook_settings and hook_form

webchick - November 15, 2005 - 09:07
Project:Form Updater
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Just a minor thing that is fairly easy to figure out but may alleviate some headaches down the way if the script were to catch this...

hook_settings and hook_form have changed so instead of outputting HTML containing the form output, they now output the $form array itself. Using this script on a hook_settings implementation without catching this results in an empty form.

 
 

Drupal is a registered trademark of Dries Buytaert.