You are here

protected function AreaTest::viewsData in Views (for Drupal 7) 8.3

The views data definition.

Overrides ViewTestBase::viewsData

File

lib/Drupal/views/Tests/Handler/AreaTest.php, line 39
Definition of Drupal\views\Tests\Handler\AreaTest.

Class

AreaTest
Tests the abstract area handler.

Namespace

Drupal\views\Tests\Handler

Code

protected function viewsData() {
  $data = parent::viewsData();
  $data['views']['test_example'] = array(
    'title' => 'Test Example area',
    'help' => 'A area handler which just exists for tests.',
    'area' => array(
      'id' => 'test_example',
    ),
  );
  return $data;
}