You are here

function rules_data_type_user::load in Rules 6

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

rules/modules/user.rules.inc, line 277
rules integration for the user module

Class

rules_data_type_user
Defines the user data type

Code

function load($uid) {
  return user_load($uid);
}