You are here

function encrypt_config_load in Encrypt 7.3

Same name and namespace in other branches
  1. 7.2 encrypt.module \encrypt_config_load()

Menu argument loader: loads a configuration by name.

Parameters

string $name: The machine-readable name of an encryption configuration to load, where '-' is replaced with '_'.

Return value

array An array representing an encryption configuration or FALSE if $name does not exist.

1 call to encrypt_config_load()
encrypt_config_features_export_render in includes/encrypt.features.inc
Implements hook_features_export_render().
1 string reference to 'encrypt_config_load'
encrypt_config_form in includes/encrypt.admin.inc
Form constructor for the configuration edit form.

File

./encrypt.module, line 650
Main Encrypt Drupal File

Code

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