You are here

function merci_cpm_update_name in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

1 string reference to 'merci_cpm_update_name'
merci_cpm_field_widget_commerce_customer_profile_type_ui_manager_form_alter in merci_cpm/merci_cpm.module

File

merci_cpm/merci_cpm.module, line 182

Code

function merci_cpm_update_name($form, &$form_state) {

  // Container is five up from the triggering element.
  $parents = array_slice($form_state['triggering_element']['#array_parents'], 0, -1);
  return drupal_array_get_nested_value($form, $parents);
}