You are here

function views_block_views_query_substitutions in Views Hacks 7

Same name and namespace in other branches
  1. 6 views_block/views_block.views.inc \views_block_views_query_substitutions()

Implementation of hook_views_query_substitutions().

File

views_block/views_block.views.inc, line 294
Provide views data and handlers for blocks.

Code

function views_block_views_query_substitutions() {
  global $theme_key;
  return array(
    '***CURRENT_THEME***' => $theme_key,
  );
}