function flag_flag::get_labels_token_types in Flag 7.3
Same name and namespace in other branches
- 5 flag.inc \flag_flag::get_labels_token_types()
- 6.2 flag.inc \flag_flag::get_labels_token_types()
- 6 flag.inc \flag_flag::get_labels_token_types()
- 7.2 flag.inc \flag_flag::get_labels_token_types()
Returns the token types this flag understands in labels. These are used for narrowing down the token list shown in the help box to only the relevant ones.
Derived classes should override this.
1 call to flag_flag::get_labels_token_types()
- flag_entity::get_labels_token_types in includes/
flag/ flag_entity.inc - Returns token types for the current entity type.
1 method overrides flag_flag::get_labels_token_types()
- flag_entity::get_labels_token_types in includes/
flag/ flag_entity.inc - Returns token types for the current entity type.
File
- includes/
flag/ flag_flag.inc, line 1238 - 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_labels_token_types() {
return array(
'flagging',
);
}