function RulesPHPDataProcessor::editAccess

Overrides RulesDataProcessor::editAccess().

Overrides RulesDataProcessor::editAccess

File

modules/php.eval.inc, line 114

Class

RulesPHPDataProcessor
A data processor using PHP.

Code

public function editAccess() {
    return parent::editAccess() && (user_access('use PHP for settings') || drupal_is_cli());
}