function EntityField::query in EntityFieldQuery Views Backend 8
Called to add the sort to a query.
Overrides SortPluginBase::query
File
- src/
Plugin/ views/ sort/ EntityField.php, line 22
Class
- EntityField
- Sort handler for entity keys.
Namespace
Drupal\efq_views\Plugin\sortCode
function query() {
$this->query->query
->sort($this->real_field, $this->options['order']);
}