You are here

function alchemy_get_message_apimissing in Alchemy 6

Same name and namespace in other branches
  1. 7 alchemy.module \alchemy_get_message_apimissing()
2 calls to alchemy_get_message_apimissing()
alchemy_contentanalysis_analyzer in modules/alchemy_contentanalysis/alchemy_contentanalysis.module
Implementation of hook_analyzer() via custom define callback
alchemy_get_apikey in ./alchemy.module
Returns api key sent in alchemy settings admin

File

./alchemy.module, line 200
DO NOT COMMIT TO DRUPAL CONTRIB! THIS MODULE IS FOR DEVELOPMENT ONLY.

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/settings/alchemy', array(
      'attributes' => array(
        'target',
        'settings',
      ),
    )),
  ));
  return $msg;
}