is it correct that $output cannot be used in hook_form function? how to return $output as there is a return $form.

thanks a lot.