Projet

Général

Profil

Révision e0d35157

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

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/i18n/i18n_node/i18n_node.module
273 273
 * Handles links for extended languages. Sets current interface language.
274 274
 */
275 275
function i18n_node_node_view_alter(&$build) {
276
  $node = $build['#node'];
276
  if (isset($build['#node'])) {
277
    $node = $build['#node'];
278
  }
277 279
  // Hide node translation links.
278 280
  if (variable_get('i18n_hide_translation_links', 0)) {
279 281
    if (isset($build['links']['translation'])) {

Formats disponibles : Unified diff