You are here

public function GeofieldProximitySort::query in Geofield 8

Called to add the sort to a query.

Overrides SortPluginBase::query

File

src/Plugin/views/sort/GeofieldProximitySort.php, line 83

Class

GeofieldProximitySort
Field handler to sort Geofields by proximity.

Namespace

Drupal\geofield\Plugin\views\sort

Code

public function query() {
  $this
    ->addQueryOrderBy($this->options['order']);
}