You are here

public function revisioning_handler_filter_node_state::get_value_options in Revisioning 8

Same name and namespace in other branches
  1. 6.4 views/revisioning_handler_filter_node_state.inc \revisioning_handler_filter_node_state::get_value_options()
  2. 6.3 views/revisioning_handler_filter_node_state.inc \revisioning_handler_filter_node_state::get_value_options()
  3. 7 views/revisioning_handler_filter_node_state.inc \revisioning_handler_filter_node_state::get_value_options()

Get value options.

File

views/revisioning_handler_filter_node_state.inc, line 57
Views filter override to filter on node state, i.e. pending, archived or current.

Class

revisioning_handler_filter_node_state
@file Views filter override to filter on node state, i.e. pending, archived or current.

Code

public function get_value_options() {
  $this->value_title = t('Revision state');
  $this->value_options = revisioning_revision_states();
}