function efq_views_handler_argument_property_string::query in EntityFieldQuery Views Backend 7
Build the query based upon the formula
Overrides views_handler_argument_string::query
File
- handlers/
efq_views_handler_argument_property_string.inc, line 13
Class
- efq_views_handler_argument_property_string
- String Argument handler for entity properties.
Code
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, '=');
}