function rules_execute_php_eval_process

Process the settings to prepare code execution.

Related topics

File

modules/php.rules.inc, line 82

Code

function rules_execute_php_eval_process(RulesAbstractPlugin $element) {
    $element->settings['used_vars'] = RulesPHPEvaluator::getUsedVars('<?' . $element->settings['code'], $element->availableVariables());
}