On April 5, 2020 . By CodimTh Category: Web Drupal Code snippet that can help you to check if form has errors in drupal 8. if ($form_state->getErrors()){ //TODO: write your code here } Tags : Drupal 8 Form API Previous PostHow do I call a controller function in a moduleNext PostGet taxonomy terms of a vocabulary in Drupal 8 Comments Add new comment Your name Subject Comment About text formats Restricted HTML Leave this field blank
Comments