function wsclient_ui_operation_delete in Web service client 7
Operation delete confirmation form.
1 string reference to 'wsclient_ui_operation_delete'
- WSClientUIController::hook_menu in wsclient_ui/
wsclient_ui.inc - Customizes menu items.
File
- wsclient_ui/
wsclient_ui.inc, line 1144 - WSClient UI - implements service description management and configuration screens.
Code
function wsclient_ui_operation_delete($form, &$form_state, $service, $operation) {
$confirm_question = t('Are you sure you want to delete the operation %operation?', array(
'%operation' => $operation['label'],
));
$form_state['service'] = $service;
$form_state['operation'] = $operation;
return confirm_form($form, $confirm_question, WSCLIENT_UI_PATH . '/manage/' . $service->name);
}