You are here

function EFQViewsTestBase::getIds in EntityFieldQuery Views Backend 7

2 calls to EFQViewsTestBase::getIds()
EFQViewsSortTestCase::runTestView in tests/efq_views.test
EFQViewsTermTestCase::testTermFilter in tests/efq_views.test

File

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

Class

EFQViewsTestBase
Abstract class for EFQ views testing.

Code

function getIds($view_result) {
  $ids = array();
  foreach ($view_result as $result) {
    $ids[$result->entity_id] = $result->entity_id;
  }
  return $ids;
}