You are here

function deploy_auth_key_form in Deploy - Content Staging 6

Implementation of the form callback for the authentication.

1 string reference to 'deploy_auth_key_form'
deploy_deploy_auth_info in ./deploy.module
Implementation of hook_deploy_auth_info().

File

./deploy.module, line 1148
Deployment API which enables modules to deploy items between servers.

Code

function deploy_auth_key_form($server = array()) {
  $form['key'] = array(
    '#type' => 'textfield',
    '#title' => t('API key'),
    '#description' => t('The API key to use when authenticating with the remote server.'),
    '#required' => TRUE,
  );
  $form['domain'] = array(
    '#type' => 'textfield',
    '#title' => t('Domain'),
    '#description' => t('Domain using this key (note this is not necessarily the same as your domain name).'),
    '#required' => TRUE,
  );
  return $form;
}