You are here

function key_provider_variable_instructions in Key 7

1 string reference to 'key_provider_variable_instructions'
variable.inc in plugins/key_provider/variable.inc
Plugin definition for the Variable key provider.

File

plugins/key_provider/variable.inc, line 78
Plugin definition for the Variable key provider.

Code

function key_provider_variable_instructions() {
  return array(
    'instructions' => array(
      '#markup' => t('To set the key in the site’s settings.php file, leave the key value blank on this form and define the specified key in the $conf array in settings.php. For example, if the text entered for the variable name in the key provider settings is “foobar” and the key is “12345”, add this line to settings.php: %code', array(
        '%code' => "\$conf['key_foobar'] = '12345';",
      )),
    ),
  );
}