You are here

function context_features_get_version in Features 6

Determine context major branch version.

5 calls to context_features_get_version()
context_features_api in includes/features.context.inc
Implementation of hook_features_api().
context_features_export in includes/features.context.inc
Implementation of hook_features_export().
context_features_export_options in includes/features.context.inc
Implementation of hook_features_export_options();
context_features_export_render in includes/features.context.inc
Implementation of hook_features_export_render().
context_features_revert in includes/features.context.inc
Implementation of hook_features_revert().

File

includes/features.context.inc, line 6

Code

function context_features_get_version() {
  if (function_exists('context_context_plugins')) {
    return 3;
  }
  return 2;
}