You are here

efq_views_handler_argument_property_string.inc in EntityFieldQuery Views Backend 7

File

handlers/efq_views_handler_argument_property_string.inc
View source
<?php

/**
 * String Argument handler for entity properties.
 */
class efq_views_handler_argument_property_string extends views_handler_argument_string {
  function options_form(&$form, &$form_state) {
    parent::options_form($form, $form_state);

    // We don't support glossary currently.
    unset($form['glossary']);
  }
  function query($group_by = false) {
    $argument = $this->argument;
    if (!empty($this->options['transform_dash'])) {
      $argument = strtr($argument, '-', ' ');
    }
    $this->query->query
      ->propertyCondition($this->real_field, $argument, '=');
  }

}

Classes

Namesort descending Description
efq_views_handler_argument_property_string String Argument handler for entity properties.