function key_get_type in Key 7
Gets information about a specific key type.
Parameters
string $type: The name of the type 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 type.
1 call to key_get_type()
- key_ui_key_configs_list in modules/
key_ui/ includes/ key_ui.admin.inc - Menu callback; displays the list of key configurations.
File
- ./
key.module, line 281 - Provides the ability to manage keys, which can be used by other modules.
Code
function key_get_type($type, $reset = FALSE) {
ctools_include('plugins');
return ctools_get_plugins('key', 'key_type', $type);
}