You are here

function flag_node::replace_tokens in Flag 7.3

Same name and namespace in other branches
  1. 5 flag.inc \flag_node::replace_tokens()
  2. 6.2 flag.inc \flag_node::replace_tokens()
  3. 6 flag.inc \flag_node::replace_tokens()
  4. 7.2 flag.inc \flag_node::replace_tokens()

This is overridden for no other purpose than to document that $entity_id can be one of the following fake IDs in certain contexts:

  • 'new': On a new node form.
  • 'fake': On the node type admin form.

Overrides flag_entity::replace_tokens

File

includes/flag/flag_node.inc, line 124
Contains the flag_node class.

Class

flag_node
Implements a node flag.

Code

function replace_tokens($label, $contexts, $options, $entity_id) {
  return parent::replace_tokens($label, $contexts, $options, $entity_id);
}