You are here

function flag_node::get_views_info in Flag 5

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

File

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

Class

flag_node
Implements a node flag.

Code

function get_views_info() {
  return array(
    'views table' => 'node',
    'join field' => 'nid',
    'title field' => 'title',
    'title' => t('Node flag'),
    'help' => t('Limit results to only those nodes flagged by a certain flag; Or display information about the flag set on a node.'),
    'counter title' => t('Node flag counter'),
    'counter help' => t('Include this to gain access to the flag counter field.'),
  );
}