function FilterNumericTest::viewsData in Views (for Drupal 7) 8.3
The views data definition.
Overrides ViewTestBase::viewsData
File
- lib/
Drupal/ views/ Tests/ Handler/ FilterNumericTest.php, line 36 - Definition of Drupal\views\Tests\Handler\FilterNumericTest.
Class
- FilterNumericTest
- Tests the numeric filter handler.
Namespace
Drupal\views\Tests\HandlerCode
function viewsData() {
$data = parent::viewsData();
$data['views_test_data']['age']['filter']['allow empty'] = TRUE;
$data['views_test_data']['id']['filter']['allow empty'] = FALSE;
return $data;
}