Search for setError
- Search 7.x for setError
- Search 9.5.x for setError
- Search 8.9.x for setError
- Search 11.x for setError
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| BatchBuilder::setErrorMessage | function | core/ |
Sets the message to display if an error occurs while processing. |
| BatchBuilderTest::testSetErrorMessage | function | core/ |
Tests setErrorMessage(). |
| FormState::setError | function | core/ |
Flags an element as having an error. |
| FormState::setErrorByName | function | core/ |
Files an error against a form element. |
| FormStateDecoratorBase::setError | function | core/ |
Flags an element as having an error. |
| FormStateDecoratorBase::setErrorByName | function | core/ |
Files an error against a form element. |
| FormStateDecoratorBaseTest::testSetError | function | core/ |
@covers ::setError[[api-linebreak]] |
| FormStateDecoratorBaseTest::testSetErrorByName | function | core/ |
@covers ::setErrorByName[[api-linebreak]] |
| FormStateInterface::setError | function | core/ |
Flags an element as having an error. |
| FormStateInterface::setErrorByName | function | core/ |
Files an error against a form element. |
| FormStateTest::providerTestSetErrorByName | function | core/ |
|
| FormStateTest::testSetError | function | core/ |
Tests the setError() method. |
| FormStateTest::testSetErrorByName | function | core/ |
@covers ::setErrorByName[[api-linebreak]] |
| SubformState::setErrorByName | function | core/ |
Files an error against a form element. |
| SubformStateTest::testSetErrorByName | function | core/ |
@covers ::setErrorByName[[api-linebreak]] |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.