You are here

protected function EFQViewsSortTestBase::map in EntityFieldQuery Views Backend 7

1 call to EFQViewsSortTestBase::map()
EFQViewsSortTestCase::runTestView in tests/efq_views.test

File

tests/efq_views.test, line 389
Tests for EFQ Views query features.

Class

EFQViewsSortTestBase

Code

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