function hook_views_query_substitutions

3.x views.api.php hook_views_query_substitutions($view)
2.x docs.php hook_views_query_substitutions()

Stub hook documentation

Related topics

3 functions implement hook_views_query_substitutions()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

node_views_query_substitutions in modules/node.views.inc
Implementation of hook_views_query_substitutions().
user_views_query_substitutions in modules/user.views.inc
Allow replacement of current userid so we can cache these queries
views_views_query_substitutions in ./views.module
Substitute current time; this works with cached queries.
1 invocation of hook_views_query_substitutions()
view::substitutions in includes/view.inc
Get's all the substitutions and store them.

File

docs/docs.php, line 570
This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.

Code

function hook_views_query_substitutions() {
  // example code here
}