drupal ajax form error message

http://www.drupal8.ovh/en/tutoriels/26/ajax-form

https://www.drupal.org/project/coredev/issues/2871033

 $response->addCommand(new HtmlCommand('#yourFormWrapperElement', $form));


examples.里面有很多的代码
原文地址:https://www.cnblogs.com/qinqiu/p/9390583.html