function merci_cpm_update_name in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3
1 string reference to 'merci_cpm_update_name'
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);
}