Search for errors

  1. Search 7.x for errors
  2. Search 9.5.x for errors
  3. Search 10.3.x for errors
  4. Search 11.x for errors
  5. Other projects
Title Object type File name Summary
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.
FormValidationMessageOrderTest::testLimitValidationErrors function core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Tests that fields validation messages are sorted in the fields order.
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/Functional/ImageEffectsTest.php Tests if validation errors are passed plugin form to the parent form.
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 Enables inline form errors.
inline_form_errors_element_info_alter function core/modules/inline_form_errors/inline_form_errors.module Implements hook_element_info_alter().
inline_form_errors_help function core/modules/inline_form_errors/inline_form_errors.module Implements hook_help().
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.
JUnitConverterTest::testXmlToRowsWithErrors function core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php Test errors reported.
@covers ::xmlToRows
LinkWidget::flagErrors function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Override the '%uri' message parameter, to ensure that 'internal:' URIs
show a validation error message that doesn't mention that scheme.
MaximumFileSizeExceededUploadTest::$originalDisplayErrorsValue property core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php The original value of the 'display_errors' PHP configuration option.
PoStreamReader::$errors property core/lib/Drupal/Component/Gettext/PoStreamReader.php Array of translated error strings recorded on reading this stream so far.
RequestSanitizerTest::$errors property core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Log of errors triggered during sanitization.
ResourceResponseTestTrait::errorsToOmittedObject function core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php Maps error objects into an omitted object.
SimpleTestErrorCollectorTest::$collectedErrors property core/modules/simpletest/src/Tests/SimpleTestErrorCollectorTest.php Errors triggered during the test.
SiteSettingsForm::getDatabaseErrors function core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php Get any database errors and links them to a form element.
SiteSettingsForm::getDatabaseErrorsTemplate function core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php Gets the inline template render array to display the database errors.
SubformState::getLimitValidationErrors function core/lib/Drupal/Core/Form/SubformState.php Retrieves the limited validation error sections.
SubformState::setLimitValidationErrors function core/lib/Drupal/Core/Form/SubformState.php Sets the limited validation error sections.
SubformStateTest::testGetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getLimitValidationErrors
SubformStateTest::testSetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setLimitValidationErrors
TestBase::assertNoErrorsLogged function core/modules/simpletest/src/TestBase.php Asserts that no errors have been logged to the PHP error.log thus far.
TriggeringElementProgrammedTest::testLimitValidationErrors function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Tests that #limit_validation_errors of the only submit button takes effect.
UncaughtExceptionTest::assertNoErrorsLogged function core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php Asserts that no errors have been logged to the PHP error.log thus far.
UpdatePathTestBase::$upgradeErrors property core/modules/system/src/Tests/Update/UpdatePathTestBase.php Array of errors triggered during the update process.

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