function constant_contact_check_details in Constant Contact 6.2
Check they have entered account details
1 call to constant_contact_check_details()
- constant_contact_requirements in ./
constant_contact.install - Implementation of hook_requirements(). This helps admin know if the module is functioning correctly. Adds status report to the admin area.
File
- ./
constant_contact.install, line 10
Code
function constant_contact_check_details() {
$username = variable_get('constant_contact_username', '');
$password = variable_get('constant_contact_password', '');
$api_key = variable_get('constant_contact_api_key', '');
if ($username && $password && $api_key) {
return true;
}
return false;
}