You are here

function _coder_review_form_output in Coder 7.2

Same name and namespace in other branches
  1. 7 coder_review/coder_review.module \_coder_review_form_output()

???

Parameters

??? $name: ???

??? $filename: ???

??? $results: ???

Return value

array ???

1 call to _coder_review_form_output()
coder_review_page_form in coder_review/coder_review.module
Implements hook_form().

File

coder_review/coder_review.module, line 897
Developer module to assist with coder reviews and API upgrade suggestions.

Code

function _coder_review_form_output($name, $filename, $results) {
  $output = array(
    '#theme' => 'coder_review',
    '#name' => $name,
    '#filename' => $filename,
    '#results' => $results,
  );
  if (_drush()) {
    theme_drush_coder_review(array(
      'name' => $name,
      'filename' => $filename,
      'results' => $results,
    ));
  }
  return $output;
}