You are here

function _coder_security_eval_warning in Coder 6.2

1 string reference to '_coder_security_eval_warning'
coder_security_reviews in includes/coder_security.inc
Implementation of hook_reviews().

File

includes/coder_security.inc, line 593
This include file implements coder functionality for Drupal Standards.

Code

function _coder_security_eval_warning() {
  return array(
    '#warning' => t("Using !eval() or !drupal_eval() in your module's code could have a security risk if the PHP input provided to the function contains malicious code.", array(
      '!eval' => theme('phpapi', 'eval'),
      '!drupal_eval' => theme('drupalapi', 'drupal_eval'),
    )),
    '#link' => url('http://drupal.org/node/715010'),
  );
}