You are here

function alchemy_get_message_apimissing in Alchemy 7

Same name and namespace in other branches
  1. 6 alchemy.module \alchemy_get_message_apimissing()

@todo Please document this function.

See also

http://drupal.org/node/1354

2 calls to alchemy_get_message_apimissing()
alchemy_contentanalysis_analyzer in modules/alchemy_contentanalysis/alchemy_contentanalysis.module
Implements hook_analyzer() via custom define callback().
alchemy_get_apikey in ./alchemy.module
Returns api key sent in alchemy settings admin.

File

./alchemy.module, line 249
$Id: alchemy.module,v 1.1.2.3 2010/11/17 21:17:48 tomdude48 Exp $

Code

function alchemy_get_message_apimissing() {
  $msg = t('You must set the Alchemy API key in order to use Alchemy. !settings_link.', array(
    '!settings_link' => l(t('Set key here'), 'admin/config/services/alchemy', array(
      'attributes' => array(
        'target',
        'settings',
      ),
    )),
  ));
  return $msg;
}