You are here

function animate_any_delete_animate_block in Animate Any 7

Function to confirm animation item delete

1 string reference to 'animate_any_delete_animate_block'
animate_any_menu in ./animate_any.module
Implements hook_menu().

File

./animate_any.module, line 417
Add CSS3 cross-browser animation to any Drupal site.

Code

function animate_any_delete_animate_block($form, &$form_state, $aid) {
  $form['animate_aid'] = array(
    '#type' => 'hidden',
    '#value' => $aid,
  );
  return confirm_form($form, "Do you really want to delete?", 'admin/config/animate_any/list', "This action cannot be undone.", "Delete");
}