1.16.x views_test.module views_test_views_pre_render(&$view)
1.12.x views_test.module views_test_views_pre_render(&$view)
1.14.x views_test.module views_test_views_pre_render(&$view)
1.15.x views_test.module views_test_views_pre_render(&$view)
1.10.x views_test.module views_test_views_pre_render(&$view)
1.11.x views_test.module views_test_views_pre_render(&$view)
1.13.x views_test.module views_test_views_pre_render(&$view)
1.8.x views_test.module views_test_views_pre_render(&$view)
1.9.x views_test.module views_test_views_pre_render(&$view)

Implements hook_views_pre_render().

File

modules/views/tests/views_test/views_test.module, line 70
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;
  }
}