function devel_doc_function_form

Provides the devel docs form.

File

./devel.module, line 1020

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;
}