function views_test_views_data

3.x views_test.module views_test_views_data()

Implements hook_views_data().

1 string reference to 'views_test_views_data'
ViewsSqlTest::setUp in tests/views_query.test
Sets up a Drupal site for running functional and integration tests.

File

tests/views_test.module, line 33
Helper module for Views tests.

Code

function views_test_views_data() {
  // Count how often this hook is called.
  $count = variable_get('views_test_views_data_count', 0);
  $count++;
  variable_set('views_test_views_data_count', $count);
  return variable_get('views_test_views_data', array());
}