You are here

function oauth_common_context_load_all in OAuth 1.0 7.3

Same name and namespace in other branches
  1. 6.3 oauth_common.module \oauth_common_context_load_all()
  2. 7.4 oauth_common.module \oauth_common_context_load_all()

Load all contexts.

Return value

array Array of context objects keyed by context names.

2 calls to oauth_common_context_load_all()
oauth_common_context_list in ./oauth_common.module
Lists all available contexts.
oauth_common_list_context in ./oauth_common.admin.inc
Output a list of contexts.

File

./oauth_common.module, line 514

Code

function oauth_common_context_load_all() {
  if (!module_exists('ctools')) {
    return FALSE;
  }
  ctools_include('export');
  return ctools_export_load_object('oauth_common_context');
}