Projet

Général

Profil

Révision 211d6cee

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/file_entity/file_entity.file.inc
197 197
/**
198 198
 * Implements hook_entitycache_ENTITY_TYPE_load().
199 199
 */
200
function file_entitycache_file_load($files) {
200
function file_entity_entitycache_file_load($files) {
201 201
  // Integrates with entitycache - ensures the alt and title text on images is
202 202
  // localized.
203 203
  file_entity_set_title_alt_properties($files);
......
210 210
  file_entity_set_title_alt_properties_on_file_fields($entities, $entity_type);
211 211
}
212 212

  
213
/**
214
 * Implements hook_entitycache_load().
215
 */
216
function file_entity_entitycache_load($entities, $entity_type) {
217
  file_entity_set_title_alt_properties_on_file_fields($entities, $entity_type);
218
}
219

  
220 213
/**
221 214
 * Sets the title / alt properties on file fields attached to entities.
222 215
 *

Formats disponibles : Unified diff