You are here

function ac_update_current_step_state in Availability Calendars 7.2

5 calls to ac_update_current_step_state()
ac_update_form1 in ac_update/ac_update.module
Retrieve form callback for the admin/config/content/availability-calendars/update1 page.
ac_update_form2 in ac_update/ac_update.module
Retrieve form callback for the admin/config/content/availability-calendars/update/2 page.
ac_update_form3 in ac_update/ac_update.module
Retrieve form callback for the admin/config/content/availability-calendars/update/3 page.
ac_update_form4 in ac_update/ac_update.module
ac_update_form_submit in ac_update/ac_update.module

File

ac_update/ac_update.module, line 29
Availability Calendars update: admin update code

Code

function ac_update_current_step_state($state = NULL) {
  static $curent_state = 'acu_active';
  if ($state !== NULL) {
    $curent_state = $state;
  }
  return $curent_state;
}