Révision 9d13637e
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/commerce/modules/line_item/commerce_line_item.module | ||
---|---|---|
48 | 48 |
), |
49 | 49 |
); |
50 | 50 |
|
51 |
$return['commerce_line_item']['bundles'] = array(); |
|
51 | 52 |
foreach (commerce_line_item_type_get_name() as $type => $name) { |
52 | 53 |
$return['commerce_line_item']['bundles'][$type] = array( |
53 | 54 |
'label' => $name, |
... | ... | |
499 | 500 |
// Otherwise turn the array values into the type name only. |
500 | 501 |
$line_item_type_names = array(); |
501 | 502 |
|
502 |
foreach ((array) $line_item_types as $key => $value) {
|
|
503 |
foreach ($line_item_types as $key => $value) { |
|
503 | 504 |
$line_item_type_names[$key] = $value['name']; |
504 | 505 |
} |
505 | 506 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules