Projet

Général

Profil

Révision dd54aff9

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

Weekly update of contrib modules

Voir les différences:

htmltest/sites/all/modules/entity/entity.features.inc
148 148
/**
149 149
 * Features component callback.
150 150
 */
151
function entity_features_export_options($entity_type) {
151
function entity_features_export_options($a1, $a2 = NULL) {
152
  // Due to a change in the Features API the first parameter might be a feature
153
  // object or an entity type, depending on the Features version. This check is
154
  // for backwards compatibility.
155
  $entity_type = is_string($a1) ? $a1 : $a2;
152 156
  return entity_features_get_controller($entity_type)->export_options();
153 157
}
154 158

  

Formats disponibles : Unified diff