function FilterStringTest::viewsData in Views (for Drupal 7) 8.3
The views data definition.
Overrides ViewTestBase::viewsData
File
- lib/
Drupal/ views/ Tests/ Handler/ FilterStringTest.php, line 35 - Definition of Drupal\views\Tests\Handler\FilterStringTest.
Class
- FilterStringTest
- Tests the core Drupal\views\Plugin\views\filter\String handler.
Namespace
Drupal\views\Tests\HandlerCode
function viewsData() {
$data = parent::viewsData();
$data['views_test_data']['name']['filter']['allow empty'] = TRUE;
$data['views_test_data']['job']['filter']['allow empty'] = FALSE;
$data['views_test_data']['description'] = $data['views_test_data']['name'];
return $data;
}