function views_handler_filter_heartbeat_perms::value_form in Heartbeat 6.4
Child classes should override this function to set the 'value options'. This can use a guard to be used to reduce database hits as much as possible.
File
- views/
handlers/ views_handler_filter_heartbeat_perms.inc, line 32 - Implementation of equality filter to match the permission configuration with the message permission.
Class
- views_handler_filter_heartbeat_perms
- Class views_handler_filter_heartbeat_perms
Code
function value_form(&$form, &$form_state) {
$form['value'] = array(
'#type' => 'radios',
'#options' => _heartbeat_perms_options(),
'#title' => t('Restrict activity stream to message permissions'),
'#default_value' => $this->value,
);
}