You are here

function domain_views_api_version in Domain Views 7

Provides a switch fo 7.x.2 / 7.x.3 compatibility.

2 calls to domain_views_api_version()
domain_views_ctools_plugin_directory in ./domain_views.module
Implement hook_ctools_plugin_directory().
domain_views_views_data in ./domain_views.views.inc
Implements hook_views_data().

File

./domain_views.module, line 28
Provides a Views filter for the Domain Access module.

Code

function domain_views_api_version() {
  if (function_exists('domain_api_version')) {
    return domain_api_version();
  }
  return 2;
}