Search for element
- Search 7.x for element
- Search 9.5.x for element
- Search 8.9.x for element
- Search 10.3.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 |
---|---|---|---|
FormElementBase.php | file | core/ |
|
FormElementBase::$definition | property | core/ |
The data definition of the element this form element is for. |
FormElementBase::$element | property | core/ |
The schema element this form is for. |
FormElementBase::create | function | core/ |
Creates a form element instance from a schema definition. |
FormElementBase::getSourceElement | function | core/ |
Returns the source element for a given configuration definition. |
FormElementBase::getTranslationBuild | function | core/ |
Builds a render array containing the source and translation form elements. |
FormElementBase::getTranslationElement | function | core/ |
Returns the translation form element for a given configuration definition. |
FormElementBase::processAutocomplete | function | core/ |
Adds autocomplete functionality to elements. |
FormElementBase::processPattern | function | core/ |
Render API callback: Handles the #pattern form element property. |
FormElementBase::setConfig | function | core/ |
Sets configuration based on a nested form value array. |
FormElementBase::validatePattern | function | core/ |
Render API callback: Handles the #pattern form element property.. |
FormElementBase::valueCallback | function | core/ |
Determines how user input is mapped to an element's #value property. |
FormElementBase::__construct | function | core/ |
Constructs a FormElementBase. |
FormElementHelper | class | core/ |
Provides common functionality for form elements. |
FormElementHelper.php | file | core/ |
|
FormElementHelper::getElementByName | function | core/ |
Retrieves a form element. |
FormElementHelper::getElementTitle | function | core/ |
Returns the title for the element. |
FormElementHelperTest | class | core/ |
Tests the form element helper. |
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 install. |
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 install. |
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 install. |
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::service('renderer')->render(). |
FormElementsRenderTest.php | file | core/ |
|
FormElementsRenderTest::$modules | property | core/ |
Modules to install. |
FormElementsRenderTest::assertRenderedElement | function | core/ |
Tests that elements are rendered properly. |
FormElementsRenderTest::testDrupalRenderFormElements | function | core/ |
Tests rendering form elements without using doBuildForm(). |
FormErrorHandler::setElementErrorsFromFormState | function | core/ |
Stores errors and a list of child element errors directly on each element. |
FormErrorHandlerTest::testSetElementErrorsFromFormState | function | core/ |
@covers ::handleFormErrors[[api-linebreak]] @covers ::setElementErrorsFromFormState[[api-linebreak]] |
FormGroupingElementsTest | class | core/ |
Tests for form grouping elements. |
Pagination
- Previous page
- Page 12
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.