You are here

function _coder_review_form_output in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_review/coder_review.module \_coder_review_form_output()
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 1059

Code

function _coder_review_form_output($name, $filename, $results) {
  $output = array(
    '#theme' => 'coder_review',
    '#name' => $name,
    '#filename' => $filename,
    '#results' => $results,
  );

  // When using Drush, render this element so that the theme output gets recorded.
  if (function_exists('_coder_review_drush_is_option') && _coder_review_drush_is_option('drush')) {
    render($output);
  }
  return $output;
}