You are here

public function HeartbeatAccess::configurationForm in Heartbeat 6.4

ConfigurationForm Basic configuration form for streams.

File

includes/heartbeataccess.inc, line 395
HeartbeatAccess object is the object that takes stream configuration to create a stream of activity objects. It is the controlling organ at the pre-query, query and post-query phases.

Class

HeartbeatAccess
Abstract class heartbeataccess This base class has final template methods which are used by the derived concretes. The HeartbeatAccess is a state object that is given to the HeartbeatMessageBuilder to set the access to the current request.

Code

public function configurationForm(&$form, &$form_state) {

  // Add extra form properties.
  // A couple of examples to manipulate the form.

  //$form['settings']['my_stream_setting'] = array('#type' => 'checkbox', '#default_value' => 0, '#title' => t(''));

  //$form['poll_settings']['#access'] = FALSE;
}