You are here

function EFQViewsNodeLinkTestCase::view in EntityFieldQuery Views Backend 7

Overrides EFQViewsTestBase::view

File

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

Class

EFQViewsNodeLinkTestCase

Code

function view() {
  $view = new view();
  $view->base_table = 'efq_node';

  /* Display: Master */
  $handler = $view
    ->new_display('default');

  /* Field: Node: Edit link */
  $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
  $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
  $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
  return $view;
}