You are here

function key_get_provider in Key 7.2

Same name and namespace in other branches
  1. 7 key.module \key_get_provider()

Gets information about a specific key provider.

Parameters

string $provider: The name of the key provider to get.

bool $reset: A flag indicating whether to clear the plugin cache. Otherwise, stale data may be returned if plugin properties have changed.

Return value

array A key provider.

6 calls to key_get_provider()
key_configs_list in includes/key.admin.inc
Menu callback; displays the list of key configurations.
key_config_delete_confirm_submit in includes/key.admin.inc
Submit handler for key_config_delete_confirm().
key_config_form_submit in includes/key.admin.inc
Form submission handler for key_config_form().
key_config_form_validate in includes/key.admin.inc
Form validate handler for key_config_form().
key_get_key in ./key.module
Get a key using a key configuration.

... See full list

File

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

Code

function key_get_provider($provider, $reset = FALSE) {
  ctools_include('plugins');
  return ctools_get_plugins('key', 'key_provider', $provider);
}