Commit e095d248 authored by Jelle Sebreghts's avatar Jelle Sebreghts
Browse files

#after_build is not by reference.

parent ac169744
......@@ -16,7 +16,7 @@ function clientside_validation_form_alter(&$form, FormStateInterface &$form_stat
/**
* Form after build callback.
*/
function clientside_validation_form_after_build(&$form, FormStateInterface &$form_state) {
function clientside_validation_form_after_build($form, FormStateInterface $form_state) {
clientside_validation_add_validation($form, $form_state, $form['#form_id']);
clientside_validation_form_after_build_recurse($form['#form_id'], $form, $form_state);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment