function views_test_views_pre_render

Implements hook_views_pre_render().

File

tests/views_test.module, line 65

Code

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