function _empty_fields_config_form in Empty fields 8
Handles switching the handler type selector.
1 string reference to '_empty_fields_config_form'
File
- ./
empty_fields.module, line 77 - Contains the implementation for the empty_fields module.
Code
function _empty_fields_config_form($form, FormStateInterface $form_state) {
$parents = $form_state
->getTriggeringElement()['#array_parents'];
array_pop($parents);
$parents[] = 'settings';
return NestedArray::getValue($form, $parents);
}