Search for element
- Search 7.x for element
- Search 9.5.x for element
- Search 10.3.x for element
- Search 11.x for element
- Other projects
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Element | class | core/ |
Defines a service for Text Editor's render elements. |
Element | class | core/ |
Provides helper methods for Drupal render elements. |
Element | class | core/ |
Defines a generic configuration element. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
FormElementHelperTest.php | file | core/ |
|
FormElementHelperTest::getElementByNameProvider | function | core/ |
Provides test data. |
FormElementHelperTest::getElementTitleProvider | function | core/ |
Provides test data. |
FormElementHelperTest::testGetElementByName | function | core/ |
Tests the getElementByName() method. |
FormElementHelperTest::testGetElementTitle | function | core/ |
Tests the getElementTitle() method. |
FormElementInlineErrorTest | class | core/ |
Tests messages on form elements. |
FormElementInlineErrorTest.php | file | core/ |
|
FormElementInlineErrorTest::$modules | property | core/ |
Modules to enable. |
FormElementInlineErrorTest::testDisplayErrorMessagesNotInline | function | core/ |
Tests that no inline form errors are shown when disabled for a form. |
FormElementInterface | interface | core/ |
Provides an interface for form element plugins. |
FormElementInterface.php | file | core/ |
|
FormElementInterface::valueCallback | function | core/ |
Determines how user input is mapped to an element's #value property. |
FormElementLabelTest | class | core/ |
Tests for form_element_label theme hook. |
FormElementLabelTest.php | file | core/ |
|
FormElementLabelTest::$modules | property | core/ |
Modules to enable. |
FormElementLabelTest::testAttributes | function | core/ |
Ensures that attributes can be placed for form element label. |
FormElementMaxlengthTest | class | core/ |
Tests the maxlength HTML attribute on form elements. |
FormElementMaxlengthTest.php | file | core/ |
|
FormElementMaxlengthTest::$modules | property | core/ |
Modules to enable. |
FormElementMaxlengthTest::buildForm | function | core/ |
Form constructor. |
FormElementMaxlengthTest::getFormId | function | core/ |
Returns a unique string identifying the form. |
FormElementMaxlengthTest::submitForm | function | core/ |
Form submission handler. |
FormElementMaxlengthTest::testAttributes | function | core/ |
Ensures maxlength attribute can be used in compatible elements. |
FormElementMaxlengthTest::validateForm | function | core/ |
Form validation handler. |
FormElementsRenderTest | class | core/ |
Performs integration tests on drupal_render(). |
FormElementsRenderTest.php | file | core/ |
|
FormElementsRenderTest::$modules | property | core/ |
Modules to enable. |
FormElementsRenderTest::assertRenderedElement | function | core/ |
Tests that elements are rendered properly. |
FormElementsRenderTest::testDrupalRenderFormElements | function | core/ |
Tests rendering form elements without passing through \Drupal::formBuilder()->doBuildForm(). |
FormErrorHandler::setElementErrorsFromFormState | function | core/ |
Stores errors and a list of child element errors directly on each element. |
FormErrorHandlerTest::testSetElementErrorsFromFormState | function | core/ |
@covers ::handleFormErrors @covers ::setElementErrorsFromFormState |
FormGroupingElementsTest | class | core/ |
Tests for form grouping elements. |
FormGroupingElementsTest.php | file | core/ |
|
FormGroupingElementsTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
FormGroupingElementsTest::$modules | property | core/ |
Required modules. |
FormGroupingElementsTest::setUp | function | core/ |
|
FormGroupingElementsTest::testDetailsChildVisibility | function | core/ |
Tests that details element children become visible. |
FormGroupingElementsTest::testVerticalTabChildVisibility | function | core/ |
Tests that vertical tab children become visible. |
FormHelperTest::providerElements | function | core/ |
Provides a list of elements to test. |
FormState::$has_file_element | property | core/ |
If TRUE, there is a file element and Form API will set the appropriate 'enctype' HTML attribute on the form. |
FormState::$triggering_element | property | core/ |
The form element that triggered submission, which may or may not be a button (in the case of Ajax forms). This key is often used to distinguish between various buttons in a submit handler, and is also used in Ajax handlers. |
FormState::getTriggeringElement | function | core/ |
Gets the form element that triggered submission. |
FormState::hasFileElement | function | core/ |
Returns whether this form has a file element. |
FormState::setHasFileElement | function | core/ |
Sets that this form has a file element. |
FormState::setTriggeringElement | function | core/ |
Sets the form element that triggered submission. |
FormStateDecoratorBase::getTriggeringElement | function | core/ |
Gets the form element that triggered submission. |
FormStateDecoratorBase::hasFileElement | function | core/ |
Returns whether this form has a file element. |
FormStateDecoratorBase::setHasFileElement | function | core/ |
Sets that this form has a file element. |
FormStateDecoratorBase::setTriggeringElement | function | core/ |
Sets the form element that triggered submission. |
FormStateDecoratorBase::setValueForElement | function | core/ |
Changes submitted form values during form validation. |
Pagination
- Previous page
- Page 9
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.