function acquia_agent_has_credentials in Acquia Connector 7.2
Same name and namespace in other branches
- 6.2 acquia_agent/acquia_agent.module \acquia_agent_has_credentials()
- 6 acquia_agent/acquia_agent.module \acquia_agent_has_credentials()
- 7.3 acquia_agent/acquia_agent.module \acquia_agent_has_credentials()
- 7 acquia_agent/acquia_agent.module \acquia_agent_has_credentials()
Helper function to check if an identifer and key exist.
8 calls to acquia_agent_has_credentials()
- acquia_agent_check_subscription in acquia_agent/
acquia_agent.module - Get subscription status from Acquia, and store the result.
- acquia_agent_init in acquia_agent/
acquia_agent.module - Implements hook_init().
- acquia_agent_page_build in acquia_agent/
acquia_agent.module - Implementation of hook_page_build().
- acquia_agent_requirements in acquia_agent/
acquia_agent.install - Implementation of hook_requirements()
- acquia_agent_subscription_is_active in acquia_agent/
acquia_agent.module - Helper function to check if the site has an active subscription.
File
- acquia_agent/
acquia_agent.module, line 663 - Acquia Agent securely sends information to Acquia Insight.
Code
function acquia_agent_has_credentials() {
return (bool) (variable_get('acquia_identifier', FALSE) && variable_get('acquia_key', FALSE));
}