1. drupal
    1. 5
    2. 6
    3. 7
    4. 8
5 – 7 form_get_errors()

Return an associative array of all errors.

Related topics

▾ 12 functions call form_get_errors()

block_admin_configure_submit in modules/block/
Form submission handler for the block configuration form.
comment_preview in modules/comment/comment.module
Generate a comment preview.
drupal_process_form in includes/
Processes a form submission.
FormsElementsTableSelectFunctionalTest::formSubmitHelper in modules/simpletest/tests/form.test
Helper function for the option check test to submit a form while collecting errors.
FormsProgrammaticTestCase::submitForm in modules/simpletest/tests/form.test
Helper function used to programmatically submit the form defined in form_test.module with the given values.
FormsTestCase::testRequiredFields in modules/simpletest/tests/form.test
Check several empty values for required forms elements.
install_run_task in includes/
Runs an individual installation task.
node_form in modules/node/
Generate the node add/edit form array.
node_preview in modules/node/
Generate a node preview.
openid_authentication in modules/openid/openid.module
Authenticate a user or attempt registration.
system_settings_form in modules/system/system.module
Add default buttons to a form and set its prefix.
theme_taxonomy_overview_terms in modules/taxonomy/
Returns HTML for a terms overview form as a sortable list of terms.


includes/, line 1585

function form_get_errors() {
  $form = form_set_error();
  if (!empty($form)) {
    return $form;