You are here

function flag_flag::_load_entity in Flag 7.3

Loads an entity this flag works with. Derived classes must implement this.

@abstract @private @static

1 call to flag_flag::_load_entity()
flag_flag::fetch_entity in includes/flag/flag_flag.inc
Fetches, possibly from some cache, an entity this flag works with.
1 method overrides flag_flag::_load_entity()
flag_entity::_load_entity in includes/flag/flag_entity.inc
Loads the entity object.

File

includes/flag/flag_flag.inc, line 361
Contains the flag_flag class. Flag type classes use an object oriented style inspired by that of Views 2.

Class

flag_flag
This abstract class represents a flag, or, in Views 2 terminology, "a handler".

Code

function _load_entity($entity_id) {
  return NULL;
}