1 views_test.module views_test_views_data()

Implements hook_views_data().

File

core/modules/views/tests/views_test/views_test.module, line 43
Helper module for Views tests.

Code

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