function flag_node::get_views_info in Flag 6
Same name and namespace in other branches
- 5 flag.inc \flag_node::get_views_info()
- 6.2 flag.inc \flag_node::get_views_info()
File
- ./
flag.inc, line 959 - 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.'),
);
}