1 views_handler_filter_string.test | protected ViewsHandlerFilterStringTest::getBasicView() |
Build and return a basic view of the views_test table.
Return value
view:
Overrides ViewsSqlTest::getBasicView
File
- core/
modules/ views/ tests/ handlers/ views_handler_filter_string.test, line 57 - Definition of ViewsHandlerFilterStringTest.
Class
- ViewsHandlerFilterStringTest
- Tests the core views_handler_filter_string handler.
Code
protected function getBasicView() {
$view = parent::getBasicView();
$view->display['default']->options['fields']['description'] = array(
'id' => 'description',
'table' => 'views_test',
'field' => 'description',
'relationship' => 'none',
);
return $view;
}