You are here

function views_get_module_apis in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 views.module \views_get_module_apis()
  2. 6.2 views.module \views_get_module_apis()

Get a list of modules that support the current views API.

1 call to views_get_module_apis()
views_theme in ./views.module
Implements hook_theme().

File

./views.module, line 1270
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_get_module_apis($api = 'views', $reset = FALSE) {
  if ($reset) {
    $cache =& drupal_static('ctools_plugin_api_info');
    if (isset($cache['views']['views'])) {
      unset($cache['views']['views']);
    }
  }
  ctools_include('plugins');
  return ctools_plugin_api_info('views', $api, views_api_minimum_version(), views_api_version());
}