You are here

function flag_rules_data_type::load in Flag 6

Same name and namespace in other branches
  1. 6.2 includes/flag.rules.inc \flag_rules_data_type::load()

Loads the data identified with an identifier as returned by get_identifier(). Just return the data or FALSE if loading the data failed.

Implement it, if your data type is identifiable.

Overrides rules_data_type::load

File

includes/flag.rules.inc, line 37
flag.rules.inc Rules integration for the Flag module.

Class

flag_rules_data_type
Defines the flag rule data type.

Code

function load($name) {
  return flag_get_flag($name);
}