function RulesPHPEvaluator::editAccess
Overrides RulesDataProcessor::editAccess().
Overrides RulesDataProcessor::editAccess
File
-
modules/
php.eval.inc, line 20
Class
- RulesPHPEvaluator
- A class implementing a rules input evaluator processing PHP.
Code
public function editAccess() {
return parent::editAccess() && (user_access('use PHP for settings') || drupal_is_cli());
}