function acquia_lift_ping_test_ajax_callback in Acquia Lift Connector 7
Same name and namespace in other branches
- 7.2 acquia_lift.admin.inc \acquia_lift_ping_test_ajax_callback()
Ajax callback for the ping test button.
1 string reference to 'acquia_lift_ping_test_ajax_callback'
- acquia_lift_admin_form in ./
acquia_lift.admin.inc - Admin form for configuring personalization backends.
File
- ./
acquia_lift.admin.inc, line 246 - acquia_lift.admin.inc Provides functions needed for the admin UI.
Code
function acquia_lift_ping_test_ajax_callback($form, &$form_state) {
$commands = array();
// Show status messages.
$commands[] = ajax_command_replace('#acquia-lift-config-messages', '<div id="acquia-lift-config-messages">' . theme('status_messages') . '</div>');
return array(
'#type' => 'ajax',
'#commands' => $commands,
);
}