You are here

public function revisioning_handler_filter_revision_latest_published::get_value_options in Revisioning 7

Same name and namespace in other branches
  1. 8 views/revisioning_handler_filter_revision_latest_published.inc \revisioning_handler_filter_revision_latest_published::get_value_options()

Get all value options.

Overrides views_handler_filter_boolean_operator::get_value_options

File

views/revisioning_handler_filter_revision_latest_published.inc, line 45
Views filter to display in a 'Content revisions' view only the latest revision of each node. Does not work in a standard 'Content' view.

Class

revisioning_handler_filter_revision_latest_published
@file Views filter to display in a 'Content revisions' view only the latest revision of each node. Does not work in a standard 'Content' view.

Code

public function get_value_options() {
  $this->value_options = array(
    1 => t('Published only'),
  );
}