You are here

function key_ui_config_load in Key 7

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_ui_config_load'
key_ui_key_config_form in modules/key_ui/includes/key_ui.admin.inc
Form constructor for the key configuration edit form.

File

modules/key_ui/key_ui.module, line 104

Code

function key_ui_config_load($name) {
  return key_get_config(strtr($name, array(
    '-' => '_',
  )));
}