You are here

function flag_flag::get_labels_token_types in Flag 5

Same name and namespace in other branches
  1. 6.2 flag.inc \flag_flag::get_labels_token_types()
  2. 6 flag.inc \flag_flag::get_labels_token_types()
  3. 7.3 includes/flag/flag_flag.inc \flag_flag::get_labels_token_types()
  4. 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.

File

./flag.inc, line 551
Implements various flags. Uses 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(
    'global',
  );
}