function _acquia_agent_automatic_setup_form_start in Acquia Connector 7.2
Same name and namespace in other branches
- 6.2 acquia_agent/acquia_agent.pages.inc \_acquia_agent_automatic_setup_form_start()
- 7.3 acquia_agent/acquia_agent.pages.inc \_acquia_agent_automatic_setup_form_start()
1 call to _acquia_agent_automatic_setup_form_start()
- acquia_agent_automatic_setup_form in acquia_agent/
acquia_agent.pages.inc - Automatic setup of Network key and identifier.
File
- acquia_agent/
acquia_agent.pages.inc, line 213 - Acquia Agent configuration page.
Code
function _acquia_agent_automatic_setup_form_start(&$form_state) {
$form = array(
'#prefix' => t('Log in or <a href="!url">configure manually</a> to connect your site to Acquia.', array(
'!url' => url('admin/config/system/acquia-agent/credentials'),
)),
'email' => array(
'#type' => 'textfield',
'#title' => t('Enter the email address you use to sign in to Acquia:'),
'#required' => TRUE,
),
'pass' => array(
'#type' => 'password',
'#title' => t('Enter your Acquia account password:'),
'#description' => t('Your password will not be stored locally and will be sent securely to Acquia.com. <a href="!url" target="_blank">Forgot password?</a>', array(
'!url' => url('https://accounts.acquia.com/user/password'),
)),
'#size' => 32,
'#required' => TRUE,
),
'actions' => array(
'#type' => 'actions',
'continue' => array(
'#type' => 'submit',
'#value' => t('Next'),
),
'signup' => array(
'#markup' => t('Need a subscription? <a href="!url">Get one</a>.', array(
'!url' => url('https://www.acquia.com/acquia-cloud-free'),
)),
),
),
);
return $form;
}