You are here

function pm_handler_filter_attributes_domain::get_value_options in Drupal PM (Project Management) 7

Returns filter options.

Overrides views_handler_filter_in_operator::get_value_options

File

./pm_handler_filter_attributes_domain.inc, line 10
Views handler to filter by attribute domain

Class

pm_handler_filter_attributes_domain
@file Views handler to filter by attribute domain

Code

function get_value_options() {
  if (!isset($this->value_options)) {
    $this->value_options = pm_attributes_bydomain($this->definition['domain']);
    $this->value_options = $this->value_options['values'];
  }
}