You are here

function acquia_lift_batch_sync_form in Acquia Lift Connector 7

Same name and namespace in other branches
  1. 7.2 acquia_lift.admin.inc \acquia_lift_batch_sync_form()

Simple form for initiating batch syncing of agents to Lift.

1 string reference to 'acquia_lift_batch_sync_form'
acquia_lift_configuration_page in ./acquia_lift.admin.inc
Menu callback for the Acquia Lift settings page.

File

./acquia_lift.admin.inc, line 210
acquia_lift.admin.inc Provides functions needed for the admin UI.

Code

function acquia_lift_batch_sync_form($form, &$form_state) {
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Synchronize with Acquia Lift service'),
  );
  $form['explanation'] = array(
    '#type' => 'markup',
    '#markup' => '<div>' . t('Sends your local campaign information to the hosted Acquia Lift service. Use this feature if you change your Acquia Lift credentials after creating one or more campaigns.') . '</div>',
  );
  return $form;
}