Projet

Général

Profil

Révision 950416da

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

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/field_collection/field_collection.tokens.inc
131 131

  
132 132
  if ($host_entity_types === FALSE) {
133 133
    $host_entity_types = array();
134
    $entity_types = entity_get_info();
134

  
135
    if (function_exists('entity_get_info')) {
136
      $entity_types = entity_get_info();
137
    }
138

  
135 139
    // Look for all field instances, filter them by type == 'field_collection'
136 140
    // and map the entity type it's connected to to the returned list.
137 141
    foreach (field_info_field_map() as $field_instance) {

Formats disponibles : Unified diff