You are here

protected function EntityFieldQueryViewsSortTestBase::map in EntityFieldQuery Views Backend 8

1 call to EntityFieldQueryViewsSortTestBase::map()
EntityFieldQueryViewsSortTest::runTestView in src/Tests/EntityFieldQueryViewsSortTest.php

File

src/Tests/EntityFieldQuerySortTestBase.php, line 85
Tests for EFQ Views query features.

Class

EntityFieldQueryViewsSortTestBase
Class EntityFieldQueryViewsSortTestBase

Namespace

Drupal\efq_views\Tests

Code

protected function map($order) {
  $return = array();
  foreach ($order as $index) {
    $return[] = (int) $this->entities[$index]->eid;
  }
  return $return;
}