Issue #2318099 by tim.plunkett: Replace $form_state['complete_form'] with $form_state->getCompleteForm().