Projet

Général

Profil

Révision e013fa40

Ajouté par Assos Assos il y a presque 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/i18n/i18n_field/i18n_field.module
202 202
    // Entityreference fields using the entityreference_autocomplete widget.
203 203
    $alter_element = &$element['target_id'];
204 204
  }
205
  elseif ($field['type'] == 'node_reference' && isset($element['nid'])) {
206
    // The node_reference fields using the entityreference_autocomplete widget.
207
    $alter_element = &$element['nid'];
208
  }
205 209
  else {
206 210
    // All other fields.
207 211
    $alter_element = &$element;
......
511 515
    unset($implementations['i18n_field']);
512 516
    $implementations['i18n_field'] = $group;
513 517
  }
514
}
518
}

Formats disponibles : Unified diff