You are here

protected function FlagRulesDataWrapper::load in Flag 7.3

Same name and namespace in other branches
  1. 7.2 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 38
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);
}