function antispam_get_provider_name in AntiSpam 7
Same name and namespace in other branches
- 6 antispam.module \antispam_get_provider_name()
Obtain service provider name.
5 calls to antispam_get_provider_name()
- antispam_api_cmd_comment_check in ./
antispam.module - AntiSpam API: Comment Check.
- antispam_api_cmd_submit_ham in ./
antispam.module - AntiSpam API: Submit Ham
- antispam_api_cmd_submit_spam in ./
antispam.module - AntiSpam API: Submit Spam
- antispam_api_cmd_verify_key in ./
antispam.module - AntiSpam API: Key Verification.
- antispam_callback_queue in ./
antispam.admin.inc - Menu callback; Moderation queue.
File
- ./
antispam.module, line 163 - Primary hook implementations for the Antispam module.
Code
function antispam_get_provider_name($provider, $with_link = FALSE) {
switch ($provider) {
case ANTISPAM_AKISMET_SERVICE:
return $with_link ? t('<a href="http://akismet.com">Akismet</a>') : t('Akismet');
default:
return '';
}
}