Search for errors

  1. Search 7.x for errors
  2. Search 9.5.x for errors
  3. Search 8.9.x for errors
  4. Search 10.3.x for errors
  5. Other projects
Title Object type File name Summary
FormStateDecoratorBaseTest::testGetErrors function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Tests get errors.
FormStateDecoratorBaseTest::testGetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Tests get limit validation errors.
FormStateDecoratorBaseTest::testSetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Tests set limit validation errors.
FormStateInterface::clearErrors function core/lib/Drupal/Core/Form/FormStateInterface.php Clears all errors against all form elements made by self::setErrorByName().
FormStateInterface::getErrors function core/lib/Drupal/Core/Form/FormStateInterface.php Returns an associative array of all errors.
FormStateInterface::getLimitValidationErrors function core/lib/Drupal/Core/Form/FormStateInterface.php Retrieves the limited validation error sections.
FormStateInterface::hasAnyErrors function core/lib/Drupal/Core/Form/FormStateInterface.php Determines if any forms have any errors.
FormStateInterface::setLimitValidationErrors function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the limited validation error sections.
FormStateTest::testFormErrorsDuringSubmission function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Tests that form errors during submission throw an exception.
FormTestLimitValidationErrorsForm class core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php Builds a simple form with a button triggering partial validation.
FormTestLimitValidationErrorsForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php
FormTestLimitValidationErrorsForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php Form constructor.
FormTestLimitValidationErrorsForm::elementValidateLimitValidationErrors function core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php
FormTestLimitValidationErrorsForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php Returns a unique string identifying the form.
FormTestLimitValidationErrorsForm::partialSubmitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php
FormTestLimitValidationErrorsForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php Form submission handler.
FormValidator::determineLimitValidationErrors function core/lib/Drupal/Core/Form/FormValidator.php Determines if validation errors should be limited.
FormValidator::handleErrorsWithLimitedValidation function core/lib/Drupal/Core/Form/FormValidator.php Handles validation errors for forms with limited validation.
FormValidatorTest::providerTestHandleErrorsWithLimitedValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::testHandleErrorsWithLimitedValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Tests handle errors with limited validation.
ImageEffectsTest::testEffectFormValidationErrors function core/modules/image/tests/src/Kernel/ImageEffectsTest.php Tests that validation errors are passed from the plugin to the parent form.
InlineFormErrorsHooks class core/modules/inline_form_errors/src/Hook/InlineFormErrorsHooks.php Hook implementations for inline_form_errors.
InlineFormErrorsHooks.php file core/modules/inline_form_errors/src/Hook/InlineFormErrorsHooks.php
InlineFormErrorsHooks::elementInfoAlter function core/modules/inline_form_errors/src/Hook/InlineFormErrorsHooks.php Implements hook_element_info_alter().
InlineFormErrorsHooks::help function core/modules/inline_form_errors/src/Hook/InlineFormErrorsHooks.php Implements hook_help().
InlineFormErrorsServiceProvider class core/modules/inline_form_errors/src/InlineFormErrorsServiceProvider.php Overrides the form_error_handler service to enable inline form errors.
InlineFormErrorsServiceProvider.php file core/modules/inline_form_errors/src/InlineFormErrorsServiceProvider.php
InlineFormErrorsServiceProvider::alter function core/modules/inline_form_errors/src/InlineFormErrorsServiceProvider.php Modifies existing service definitions.
InlineFormErrorsThemeHooks class core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Hook implementations for inline_form_errors.
InlineFormErrorsThemeHooks.php file core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php
InlineFormErrorsThemeHooks::preprocessDatetimeWrapper function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Implements hook_preprocess_HOOK() for datetime form wrapper templates.
InlineFormErrorsThemeHooks::preprocessDetails function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Implements hook_preprocess_HOOK() for details element templates.
InlineFormErrorsThemeHooks::preprocessFieldset function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Implements hook_preprocess_HOOK() for fieldset element templates.
InlineFormErrorsThemeHooks::preprocessFormElement function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Implements hook_preprocess_HOOK() for form element templates.
inline_form_errors.info.yml file core/modules/inline_form_errors/inline_form_errors.info.yml core/modules/inline_form_errors/inline_form_errors.info.yml
inline_form_errors.module file core/modules/inline_form_errors/inline_form_errors.module
inline_form_errors.services.yml file core/modules/inline_form_errors/inline_form_errors.services.yml core/modules/inline_form_errors/inline_form_errors.services.yml
install_database_errors function core/includes/install.core.inc Checks a database connection and returns any errors.
JavascriptErrorsSuppressionTest class core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsSuppressionTest.php Tests that Drupal.throwError can be suppressed to allow a test to pass.
JavascriptErrorsSuppressionTest.php file core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsSuppressionTest.php
JavascriptErrorsSuppressionTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsSuppressionTest.php
JavascriptErrorsSuppressionTest::$failOnJavascriptConsoleErrors property core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsSuppressionTest.php
JavascriptErrorsSuppressionTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsSuppressionTest.php
JavascriptErrorsSuppressionTest::testJavascriptErrors function core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsSuppressionTest.php Tests that JavaScript console errors can be suppressed.
JavascriptErrorsTest class core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsTest.php Tests that Drupal.throwError will cause a test failure.
JavascriptErrorsTest.php file core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsTest.php
JavascriptErrorsTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsTest.php
JavascriptErrorsTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsTest.php
JavascriptErrorsTest::clearErrorLog function core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsTest.php Clear the JavaScript error log to prevent this test failing for real.
JavascriptErrorsTest::testJavascriptErrors function core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsTest.php Tests that JavaScript console errors will result in a test failure.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.