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