function flag_flag::get_entity_id in Flag 7.3
Given an entity, returns its ID. Derived classes must implement this.
@abstract
1 method overrides flag_flag::get_entity_id()
- flag_entity::get_entity_id in includes/
flag/ flag_entity.inc - Returns the entity id, if it already exists.
File
- includes/
flag/ flag_flag.inc, line 616 - 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 get_entity_id($entity) {
return NULL;
}