1 views_test.module views_test_views_pre_render(&$view)

Implements hook_views_pre_render().

File

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

Code

function views_test_views_pre_render(&$view) {
  if ($view->name == 'test_cache_header_storage') {
    backdrop_add_js(backdrop_get_path('module', 'views_test') . '/views_cache.test.js');
    backdrop_add_css(backdrop_get_path('module', 'views_test') . '/views_cache.test.css');
    $view->pre_render_called = TRUE;
  }
}