You are here

function key_get_integration in Key 7

Gets information about a specific key integration.

Parameters

string $name: The machine name of the integration to get.

bool $reset: A flag to force a reset of the integration data.

Return value

array A key integration.

2 calls to key_get_integration()
key_integration_is_enabled in ./key.module
Checks if a specific key integration is enabled.
key_save_integration_settings in ./key.module
Save settings for a key integration.

File

./key.module, line 574
Provides the ability to manage keys, which can be used by other modules.

Code

function key_get_integration($name, $reset = FALSE) {
  $integrations = key_get_integrations(NULL, NULL, $reset);
  if (array_key_exists($name, $integrations)) {
    $integration = $integrations[$name];
  }
  else {
    $integration = NULL;
  }
  return $integration;
}