You are here

function flag_comment::uses_hook_link in Flag 7.2

Same name and namespace in other branches
  1. 5 flag.inc \flag_comment::uses_hook_link()
  2. 6.2 flag.inc \flag_comment::uses_hook_link()
  3. 6 flag.inc \flag_comment::uses_hook_link()

Returns TRUE if the link should be displayed.

Overrides flag_entity::uses_hook_link

File

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

Class

flag_comment
Implements a comment flag.

Code

function uses_hook_link($teaser) {
  return $this->show_on_comment;
}