You are here

function flag_heartbeat_message::options_form in Heartbeat 6.3

Same name and namespace in other branches
  1. 6.4 modules/flag_heartbeat/class.flag_heartbeat_message.inc \flag_heartbeat_message::options_form()
  2. 7 modules/heartbeat_plugins/plugins/flagattachment.inc \flag_heartbeat_message::options_form()

File

modules/flag_heartbeat/class.flag_heartbeat_message.inc, line 15

Class

flag_heartbeat_message
Implements a Heartbeat message flag.

Code

function options_form(&$form) {
  parent::options_form($form);
  $form['display']['show_on_heartbeat_message'] = array(
    '#type' => 'checkbox',
    '#title' => t('Display link under heartbeat messages'),
    '#default_value' => $this->show_on_heartbeat_message,
    '#access' => empty($this->locked['show_on_heartbeat_message']),
  );
}