1 entityreference.module | _entityreference_form_process_merge_parent($element) |
Custom callback for element processing.
File
- core/
modules/ entityreference/ entityreference.module, line 492 - Entityreference primary module file.
Code
function _entityreference_form_process_merge_parent($element) {
$parents = $element['#parents'];
array_pop($parents);
$element['#parents'] = $parents;
return $element;
}