1 views_handler_filter_numeric.test ViewsHandlerFilterNumericTest::viewsData()

The views data definition.

Overrides ViewsSqlTest::viewsData

File

core/modules/views/tests/handlers/views_handler_filter_numeric.test, line 23
Definition of ViewsHandlerFilterNumericTest.

Class

ViewsHandlerFilterNumericTest
Tests the numeric filter handler.

Code

function viewsData() {
  $data = parent::viewsData();
  $data['views_test']['age']['filter']['allow empty'] = TRUE;
  $data['views_test']['id']['filter']['allow empty'] = FALSE;

  return $data;
}