protected function FlagRulesDataWrapper::load in Flag 7.2
Same name and namespace in other branches
- 7.3 flag.rules.inc \FlagRulesDataWrapper::load()
Load a data object given an identifier.
Return value
The loaded data object, or FALSE if loading failed.
Overrides RulesIdentifiableDataWrapper::load
File
- ./
flag.rules.inc, line 33 - Rules integration for the Flag module.
Class
- FlagRulesDataWrapper
- A custom wrapper class for flags to be used with Rules.
Code
protected function load($name) {
return flag_get_flag($name);
}