Search for getError

  1. Search 7.x for getError
  2. Search 8.9.x for getError
  3. Search 10.3.x for getError
  4. Search 11.x for getError
  5. Other projects
Title Object type File name Summary
ConfigImporter::getErrors function core/lib/Drupal/Core/Config/ConfigImporter.php Returns error messages created while running the import.
DateTimePlus::getErrors function core/lib/Drupal/Component/Datetime/DateTimePlus.php Gets error messages.
EntityAccessDeniedHttpException::getError function core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php Returns the error.
FieldWidgetConstraintValidatorTest::getErrorsForEntity function core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php Gets the form errors for a given entity.
FileValidationException::getErrors function core/modules/file/src/Upload/FileValidationException.php Gets the errors.
FinalExceptionSubscriber::getErrorLevel function core/lib/Drupal/Core/EventSubscriber/FinalExceptionSubscriber.php Gets the configured error level.
FormState::getError function core/lib/Drupal/Core/Form/FormState.php Returns the error message filed against the given form element.
FormState::getErrors function core/lib/Drupal/Core/Form/FormState.php Returns an associative array of all errors.
FormStateDecoratorBase::getError function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns the error message filed against the given form element.
FormStateDecoratorBase::getErrors function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns an associative array of all errors.
FormStateDecoratorBaseTest::testGetError function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::getError
FormStateDecoratorBaseTest::testGetErrors function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::getErrors
FormStateInterface::getError function core/lib/Drupal/Core/Form/FormStateInterface.php Returns the error message filed against the given form element.
FormStateInterface::getErrors function core/lib/Drupal/Core/Form/FormStateInterface.php Returns an associative array of all errors.
FormStateTest::providerTestGetError function core/tests/Drupal/Tests/Core/Form/FormStateTest.php
FormStateTest::testGetError function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Tests the getError() method.
FormUploadedFile::getError function core/modules/file/src/Upload/FormUploadedFile.php Returns the upload error code.
FormUploadedFile::getErrorMessage function core/modules/file/src/Upload/FormUploadedFile.php Returns an informative upload error message.
UploadedFileInterface::getError function core/modules/file/src/Upload/UploadedFileInterface.php Returns the upload error code.
UploadedFileInterface::getErrorMessage function core/modules/file/src/Upload/UploadedFileInterface.php Returns an informative upload error message.

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