You are here

function _eloqua_form_hidden in Eloqua 6

Convenience Function returning a fAPI compatible hidden field

Parameters

$value string:

Return value

array fAPI Form Element

1 call to _eloqua_form_hidden()
eloqua_form_alter in ./eloqua.module
Implementation of hook_form_alter().

File

./eloqua.module, line 425

Code

function _eloqua_form_hidden($value) {
  return array(
    '#type' => 'hidden',
    '#default_value' => (string) $value,
  );
}