function authcache_views_views_pre_view in Authenticated User Page Caching (Authcache) 7.2
Implements hook_views_pre_view().
File
- modules/
authcache_views/ authcache_views.module, line 93 - Authcache support for views module.
Code
function authcache_views_views_pre_view(&$view, &$display_id, &$args) {
// Enforce a static dom-id for views loaded by authcache.
$config = _authcache_views_view_get_options($view, $view->current_display);
if (!empty($config['status'])) {
$view->dom_id = drupal_html_class("authcache-{$view->name}-{$view->current_display}");
}
}