You are here

function key_get_provider in Key 7

Same name and namespace in other branches
  1. 7.2 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.

4 calls to key_get_provider()
key_get_key in ./key.module
Get a key using a key configuration.
key_save_config in ./key.module
Save a key configuration.
key_ui_key_configs_list in modules/key_ui/includes/key_ui.admin.inc
Menu callback; displays the list of key configurations.
key_ui_key_config_form_submit in modules/key_ui/includes/key_ui.admin.inc
Form submission handler for key_ui_key_config_form().

File

./key.module, line 218
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);
}