You are here

function hook_views_query_substitutions in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 8.3 views.api.php \hook_views_query_substitutions()
  2. 6.2 docs/docs.php \hook_views_query_substitutions()
  3. 7.3 views.api.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 590
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
}