You are here

function role_expire_views_api in Role Expire 7

Same name and namespace in other branches
  1. 6 role_expire.module \role_expire_views_api()

Implements hook_views_api().

File

./role_expire.module, line 261
Role Expire module

Code

function role_expire_views_api() {

  // Any Views 3 version is fine.
  $current_views_version = views_api_version();
  if (preg_match('/^3\\./', $current_views_version)) {
    return array(
      'api' => $current_views_version,
    );
  }
}