function flag_comment::options_form in Flag 6
Same name and namespace in other branches
- 5 flag.inc \flag_comment::options_form()
- 6.2 flag.inc \flag_comment::options_form()
- 7.3 includes/flag/flag_comment.inc \flag_comment::options_form()
- 7.2 flag.inc \flag_comment::options_form()
File
- ./
flag.inc, line 996 - Implements various flags. Uses object oriented style inspired by that of Views 2.
Class
- flag_comment
- Implements a comment flag.
Code
function options_form(&$form) {
parent::options_form($form);
$form['display']['show_on_comment'] = array(
'#type' => 'checkbox',
'#title' => t('Display link under comment'),
'#default_value' => $this->show_on_comment,
'#access' => empty($this->locked['show_on_comment']),
);
}