You are here

function domain_views_views_query_substitutions in Domain Access 6.2

Implement hook_views_query_substitutions ()

File

domain_views/domain_views.views.inc, line 356
Provides the views data and handlers for domain.module.

Code

function domain_views_views_query_substitutions($view) {
  return array(
    '***CURRENT_DOMAIN***' => $GLOBALS['_domain']['domain_id'],
  );
}