Calling all Drupal developers!
Help us get this on the first page of Digg. DIGG NOW!
Help us get this on the first page of Digg. DIGG NOW!
avatar_selection_edit_delete_form_submit($form, &$form_state)
contributions/avatar_selection/avatar_selection.module, line 1055
Submit the image list form in the Avatar Selection - 'Manage Avatars' page.
Function called when the Delete button is pressed, and deletes the selected avatar(s).
$form General variable used in drupal, defining the structure & the fields of a form.
&$form_state General reference, used to control the processing of the form.
<?php
function avatar_selection_edit_delete_form_submit($form, &$form_state) {
$image = $form_state['values']['select_avatar'];
avatar_selection_image_delete($image);
}
?>