function views_views_query_substitutions
Same name in other branches
- 6.x-3.x views.module \views_views_query_substitutions()
Substitute current time; this works with cached queries.
2 calls to views_views_query_substitutions()
File
-
./
views.module, line 2380
Code
function views_views_query_substitutions($view) {
global $language_content;
return array(
'***CURRENT_VERSION***' => VERSION,
'***CURRENT_TIME***' => REQUEST_TIME,
'***CURRENT_LANGUAGE***' => $language_content->language,
'***DEFAULT_LANGUAGE***' => language_default('language'),
);
}