function flag_comment::get_views_info in Flag 6
Same name and namespace in other branches
- 5 flag.inc \flag_comment::get_views_info()
- 6.2 flag.inc \flag_comment::get_views_info()
File
- ./
flag.inc, line 1084 - Implements various flags. Uses object oriented style inspired by that of Views 2.
Class
- flag_comment
- Implements a comment flag.
Code
function get_views_info() {
return array(
'views table' => 'comments',
'join field' => 'cid',
'title field' => 'subject',
'title' => t('Comment flag'),
'help' => t('Limit results to only those comments flagged by a certain flag; Or display information about the flag set on a comment.'),
'counter title' => t('Comment flag counter'),
'counter help' => t('Include this to gain access to the flag counter field.'),
);
}