function devel_doc_function_form in Devel 7
Same name and namespace in other branches
- 6 devel.module \devel_doc_function_form()
Provides the devel docs form.
File
- ./
devel.module, line 1020 - This module holds functions useful for Drupal development.
Code
function devel_doc_function_form() {
$version = devel_get_core_version(VERSION);
$form['function'] = array(
'#type' => 'textfield',
'#description' => t('Enter function name for api lookup'),
'#size' => 16,
'#maxlength' => 255,
);
$form['version'] = array(
'#type' => 'value',
'#value' => $version,
);
$form['actions'] = array(
'#type' => 'actions',
);
$form['actions']['submit'] = array(
'#type' => 'submit',
'#value' => t('Submit'),
);
return $form;
}