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 @covers ::getErrors
FormStateDecoratorBaseTest::testGetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::getLimitValidationErrors
FormStateDecoratorBaseTest::testSetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setLimitValidationErrors
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 @covers ::handleErrorsWithLimitedValidation
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.
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
inline_form_errors_preprocess_datetime_wrapper function core/modules/inline_form_errors/inline_form_errors.module Implements hook_preprocess_HOOK() for datetime form wrapper templates.
inline_form_errors_preprocess_details function core/modules/inline_form_errors/inline_form_errors.module Implements hook_preprocess_HOOK() for details element templates.
inline_form_errors_preprocess_fieldset function core/modules/inline_form_errors/inline_form_errors.module Implements hook_preprocess_HOOK() for fieldset element templates.
inline_form_errors_preprocess_form_element function core/modules/inline_form_errors/inline_form_errors.module Implements hook_preprocess_HOOK() for form element templates.
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 The theme to install as the default for testing.
JavascriptErrorsSuppressionTest::$failOnJavascriptConsoleErrors property core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsSuppressionTest.php Determines if a test should fail on JavaScript console errors.
JavascriptErrorsSuppressionTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsSuppressionTest.php Modules to install.
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 The theme to install as the default for testing.
JavascriptErrorsTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsTest.php Modules to install.
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.
JavascriptErrorsTest::testJavascriptErrorsAsync function core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsTest.php Tests JavaScript console errors during asynchronous calls.
JsErrorsTestController class core/modules/system/tests/modules/js_errors_test/src/Controller/JsErrorsTestController.php Test Controller loading js_errors_test/errors_test library.

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