You are here

function flag_node::options in Flag 6.2

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

File

./flag.inc, line 1259
Implements various flags. Uses object oriented style inspired by that of Views 2.

Class

flag_node
Implements a node flag.

Code

function options() {
  $options = parent::options();
  $options += array(
    'show_on_page' => TRUE,
    'show_on_teaser' => TRUE,
    'show_on_form' => FALSE,
    'access_author' => '',
    'i18n' => 0,
  );
  return $options;
}