function EFQViewsTestBase::getIds in EntityFieldQuery Views Backend 7
2 calls to EFQViewsTestBase::getIds()
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;
}