You are here

function domain_source_views_query_substitutions in Domain Access 6.2

Same name and namespace in other branches
  1. 7.3 domain_source/domain_source.views.inc \domain_source_views_query_substitutions()
  2. 7.2 domain_source/domain_source.views.inc \domain_source_views_query_substitutions()

Implements hook_views_query_substitutions().

See also

class domain_source_handler_filter_domain_id.

http://drupal.org/node/1685658

File

domain_source/domain_source.views.inc, line 90
Views integration for Domain Source.

Code

function domain_source_views_query_substitutions($view) {
  return array(
    '***CURRENT_DOMAIN_SOURCE***' => DOMAIN_SOURCE_USE_ACTIVE,
  );
}