function key_config_load in Key 7.2
Same name and namespace in other branches
- 7.3 key.module \key_config_load()
Menu argument loader: loads a key configuration by name.
Parameters
string $name: The machine-readable name of an configuration to load, where '-' is replaced with '_'.
Return value
array An array representing an key configuration or FALSE if the configuration does not exist.
1 string reference to 'key_config_load'
- key_config_form in includes/
key.admin.inc - Form constructor for the key configuration edit form.
File
- ./
key.module, line 174 - Provides the ability to manage keys, which can be used by other modules.
Code
function key_config_load($name) {
return key_get_config(strtr($name, array(
'-' => '_',
)));
}