function mostpopular_service_delete_form in Drupal Most Popular 7
1 string reference to 'mostpopular_service_delete_form'
- mostpopular_menu in ./
mostpopular.module - Implements hook_menu().
File
- ./
mostpopular.services.inc, line 451 - Provides an admin GUI for configuring services.
Code
function mostpopular_service_delete_form($form, &$form_state, $sid) {
$service = mostpopular_service_load($sid);
$form_state['service'] = $service;
return confirm_form($form, t('Are you sure you want to delete the @name service?', array(
'@name' => $service->title,
)), 'admin/config/mostpopular/services', t('This action cannot be undone.'), t('Yes, delete it'), t('No, nevermind'));
}