Projet

Général

Profil

Révision e4c061ad

Ajouté par Assos Assos il y a plus de 9 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/i18n/i18n_sync/i18n_sync.module
11 11
 *
12 12
 * Notes:
13 13
 * This module needs to run after taxonomy, i18n, translation. Check module weight.
14
 *
15
 * @ TODO Test with CCK when possible, api may have changed.
16 14
 */
17 15

  
18 16
/**
......
71 69
  }
72 70
}
73 71

  
74
/**
75
 * Implements hook_form_FORM_ID_alter().
76
 */
77
function i18n_sync_form_node_admin_content_alter(&$form, &$form_state) {
78
  if (!empty($form['operation']) && $form['operation']['#value'] == 'delete') {
79
    $form['#submit'] = array_merge(array('i18n_sync_node_delete_submit'), $form['#submit']);
80
  }
81
}
82

  
83 72
/**
84 73
 * Implements hook_form_FORM_ID_alter().
85 74
 */

Formats disponibles : Unified diff