Révision b858700c
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/commerce/modules/product_reference/includes/views/commerce_product_reference.views.inc | ||
---|---|---|
76 | 76 |
|
77 | 77 |
// Adds inverse relationships between the product and entity types referencing |
78 | 78 |
// it (for example, nodes). |
79 |
foreach (field_info_fields() as $field_name => $field) { |
|
80 |
if ($field['type'] !== 'commerce_product_reference') { |
|
81 |
continue; |
|
82 |
} |
|
83 |
|
|
79 |
foreach (commerce_info_fields('commerce_product_reference') as $field_name => $field) { |
|
84 | 80 |
foreach ($field['bundles'] as $entity_type => $bundles) { |
85 | 81 |
if ($entity_type == 'commerce_line_item') { |
86 | 82 |
continue; |
Formats disponibles : Unified diff
Weekly update of contrib modules