Search for getError

  1. Search 7.x for getError
  2. Search 9.5.x for getError
  3. Search 8.9.x for getError
  4. Search 10.3.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.
FileProcessOutputCallback::getErrorOutput function core/modules/package_manager/src/FileProcessOutputCallback.php
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
FormStateDecoratorBase::getErrors function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
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.
ProcessOutputCallback::getErrorOutput function core/modules/package_manager/src/ProcessOutputCallback.php Gets the error output.

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