You are here

function views_handler_filter_heartbeat_perms::get_value_options in Heartbeat 6.3

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 14

Class

views_handler_filter_heartbeat_perms

Code

function get_value_options() {
  $this->value_options = variable_get('heartbeat_perms', array(
    'Private',
    'Friends',
    'Full Site',
    'All',
  ));
}