Révision b858700c
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/commerce/modules/customer/commerce_customer.module | ||
---|---|---|
773 | 773 |
/** |
774 | 774 |
* Implements hook_query_TAG_alter(). |
775 | 775 |
*/ |
776 |
function commerce_customer_profile_query_commerce_customer_profile_access_alter(QueryAlterableInterface $query) {
|
|
776 |
function commerce_customer_query_commerce_customer_profile_access_alter(QueryAlterableInterface $query) { |
|
777 | 777 |
return commerce_entity_access_query_alter($query, 'commerce_customer_profile'); |
778 | 778 |
} |
779 | 779 |
|
... | ... | |
1420 | 1420 |
*/ |
1421 | 1421 |
function commerce_customer_profile_copy_fields($info, &$target, $source, &$form_state) { |
1422 | 1422 |
list($entity_type, $bundle, $pane_id) = $info; |
1423 |
$form_state['order']->data['profile_copy'][$pane_id]['elements'] = array(); |
|
1423 | 1424 |
|
1424 | 1425 |
// Loop over all the field instances that could be attached to this entity. |
1425 | 1426 |
foreach (field_info_instances($entity_type, $bundle) as $field_name => $instance) { |
Formats disponibles : Unified diff
Weekly update of contrib modules