function flag_views_query_substitutions in Flag 7.3
Same name and namespace in other branches
- 8.4 flag.views_execution.inc \flag_views_query_substitutions()
- 6.2 includes/flag.views.inc \flag_views_query_substitutions()
- 7.2 includes/flag.views.inc \flag_views_query_substitutions()
Implements hook_views_query_substitutions().
Allow replacement of current user's session id so we can cache these queries.
File
- includes/
views/ flag.views.inc, line 269 - Provides support for the Views module.
Code
function flag_views_query_substitutions() {
return array(
'***FLAG_CURRENT_USER_SID***' => flag_get_sid(),
);
}