protected function FilterStringTest::getBasicView in Views (for Drupal 7) 8.3
Build and return a basic view of the views_test_data table.
Return value
Overrides ViewTestBase::getBasicView
File
- lib/
Drupal/ views/ Tests/ Handler/ FilterStringTest.php, line 70 - Definition of Drupal\views\Tests\Handler\FilterStringTest.
Class
- FilterStringTest
- Tests the core Drupal\views\Plugin\views\filter\String handler.
Namespace
Drupal\views\Tests\HandlerCode
protected function getBasicView() {
$view = parent::getBasicView();
$view->displayHandlers['default']->options['fields']['description'] = array(
'id' => 'description',
'table' => 'views_test_data',
'field' => 'description',
'relationship' => 'none',
);
return $view;
}