You are here

protected function ViewsHandlerTest::viewsData in Views (for Drupal 7) 7.3

The views data definition.

Overrides ViewsSqlTest::viewsData

File

tests/handlers/views_handlers.test, line 26
Definition of ViewsHandlerTest.

Class

ViewsHandlerTest
Tests generic handler functionality.

Code

protected function viewsData() {
  $views_data = parent::viewsData();
  $views_data['views']['test_access'] = array(
    'title' => 'test access',
    'help' => '',
    'area' => array(
      'handler' => 'views_test_area_access',
    ),
  );
  return $views_data;
}