Internal link to menu item not working I have several rows with elements and I created the delete operation for each row. When I clicked the delete link, nothing happens (it seems that don't calling the delete function).

Code of the menu item (delete function):

$items['node/%webform_menu/webform-factors/factors/%factor_component/delete'] = array(
  'page callback' =&gt; 'drupal_get_form',
  'page arguments' =&gt; array('forms_grade_factors_delete_factor', 1, 4),
  'access callback' =&gt; 'user_access',
  'access arguments' =&gt; array('access administration pages'),
  'type' =&gt; MENU_LOCAL_TASK,
);


Code of the deletion function:

function forms_grade_factors_delete_factor($form_state, $node, $component) {
    $form = array();
    $form['node'] = array(
      '#type' =&gt; 'value',
      '#value' =&gt; $node,
    );
    $form['component'] = array(
      '#type' =&gt; 'value',
      '#value' =&gt; $component,
    );
    $question = t('Are you sure you want to delete this component?');
    $description = t('Description');
    return confirm_form($form, $question, 'node/'.$node.'/webform/components');
}


Code of the table (with the deletion links):

foreach($all_factors as $factor) {
  $delete_link = l(t('Delete'), '/node/'.$nid.'/webform-factors/factors/'.$factor-&gt;fid.'/delete',
                                  array('query' =&gt; drupal_get_destination()));
  $factors[] = array($factor-&gt;factor_name, $factor-&gt;factor_formula, $delete_link);
}
$form['factors'] = array(
  '#tree' =&gt; TRUE,
  '#theme' =&gt; 'table',
  '#header' =&gt; array(t('Factor'), t('Formula'), t('Operations')),
  '#rows' =&gt; $factors,
);


Thanks for your help! :)
Just saw the your form callback, seems like you are missing argument $form. Small Change as following

From:

function forms_grade_factors_delete_factor($form_state, $node, $component) {


To:

function forms_grade_factors_delete_factor($form, &amp;$form_state, $node, $component) {