function matrix_field_ajax_callback in Matrix field 8.2
Same name and namespace in other branches
- 7.2 matrix.module \matrix_field_ajax_callback()
AJAX callback Returns the field grid after the more rows or more cols button has been pressed
1 string reference to 'matrix_field_ajax_callback'
- matrix_field_widget_form in ./
matrix.module - Implements hook_field_widget_form().
File
- ./
matrix.module, line 471 - Contains matrix.module.
Code
function matrix_field_ajax_callback($form, &$form_state) {
list($element_name, $value) = matrix_op($form_state);
if (isset($element_name)) {
return $form[$element_name];
}
}