You are here

function deploy_remote_cc_form in Deploy - Content Staging 7.3

Confirm form.

1 string reference to 'deploy_remote_cc_form'
deploy_remote_cc_menu in modules/deploy_remote_cc/deploy_remote_cc.module
Implements hook_menu().

File

modules/deploy_remote_cc/includes/deploy_remote_cc.pages.inc, line 14

Code

function deploy_remote_cc_form($form, &$form_state, $plan) {
  $form = array();
  $form['deploy_plan'] = array(
    '#type' => 'value',
    '#value' => $plan,
  );
  return confirm_form($form, t('Are you sure you want to clear all the caches?'), 'admin/structure/deploy/plans/list/' . $plan->name . '/view', t('This operation will clear all the remote caches.'), t('Clear Remote Caches'), t('Cancel'));
}