function alchemy_get_apikey in Alchemy 7
Same name and namespace in other branches
- 6 alchemy.module \alchemy_get_apikey()
Returns api key sent in alchemy settings admin.
2 calls to alchemy_get_apikey()
- alchemy_contentanalysis_analyzer in modules/
alchemy_contentanalysis/ alchemy_contentanalysis.module - Implements hook_analyzer() via custom define callback().
- alchemy_new_alchemy_obj in ./
alchemy.module - @todo Please document this function.
File
- ./
alchemy.module, line 261 - $Id: alchemy.module,v 1.1.2.3 2010/11/17 21:17:48 tomdude48 Exp $
Code
function alchemy_get_apikey() {
$apikey = variable_get('alchemy_apikey', '');
if (!$apikey) {
$msg = check_plain(alchemy_get_message_apimissing());
drupal_set_message($msg);
return FALSE;
}
return $apikey;
}