1 views.module views_views_query_substitutions($view)

Substitute current time; this works with cached queries.

File

core/modules/views/views.module, line 1833
Primarily Backdrop hooks and global API functions to manipulate views.

Code

function views_views_query_substitutions($view) {
  global $language_content;
  return array(
    '***CURRENT_VERSION***' => BACKDROP_VERSION,
    '***CURRENT_TIME***' => REQUEST_TIME,
    '***CURRENT_LANGUAGE***' => $language_content->langcode,
    '***DEFAULT_LANGUAGE***' => language_default()->langcode,
  );
}