You are here

function flag_node::default_options in Flag 6

Same name and namespace in other branches
  1. 5 flag.inc \flag_node::default_options()

File

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

Class

flag_node
Implements a node flag.

Code

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