You are here

function devel_doc_function_form_submit in Devel 6

Same name and namespace in other branches
  1. 7 devel.module \devel_doc_function_form_submit()

File

./devel.module, line 779

Code

function devel_doc_function_form_submit($form, &$form_state) {
  $version = $form_state['values']['version'];
  $function = $form_state['values']['function'];
  $api = variable_get('devel_api_url', 'api.drupal.org');
  $form_state['redirect'] = "http://{$api}/api/function/{$function}/{$version}";
}