You are here

function flag_node::options in Flag 7.3

Same name and namespace in other branches
  1. 6.2 flag.inc \flag_node::options()
  2. 7.2 flag.inc \flag_node::options()

Adds additional options that are common for all entity types.

Overrides flag_entity::options

File

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

Class

flag_node
Implements a node flag.

Code

function options() {
  $options = parent::options();

  // Use own display settings in the meanwhile.
  $options += array(
    'i18n' => 0,
  );
  return $options;
}