function RulesAbstractPlugin::access
Overrides RulesPlugin::access
File
-
includes/
rules.core.inc, line 1591
Class
- RulesAbstractPlugin
- Defines a common base class for so-called "Abstract Plugins" like actions.
Code
public function access() {
$info = $this->info();
$this->loadBasicInclude();
if (!empty($info['access callback']) && !call_user_func($info['access callback'], $this->itemName, $this->getElementName())) {
return FALSE;
}
return parent::access() && $this->__call('access');
}