Search for element

  1. Search 7.x for element
  2. Search 9.5.x for element
  3. Search 8.9.x for element
  4. Search 10.3.x for element
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Element class core/modules/editor/src/Element.php Defines a service for Text Editor's render elements.
Element class core/lib/Drupal/Core/Render/Element.php Provides helper methods for Drupal render elements.
Element class core/lib/Drupal/Core/Config/Schema/Element.php Defines a generic configuration element.

All search results

Title Object type File name Summary
FormElementsRenderTest.php file core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php
FormElementsRenderTest::$modules property core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php Modules to install.
FormElementsRenderTest::assertRenderedElement function core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php Tests that elements are rendered properly.
FormElementsRenderTest::testDrupalRenderFormElements function core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php Tests rendering form elements without using doBuildForm().
FormErrorHandler::setElementErrorsFromFormState function core/lib/Drupal/Core/Form/FormErrorHandler.php Stores errors and a list of child element errors directly on each element.
FormErrorHandlerTest::testSetElementErrorsFromFormState function core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php @covers ::handleFormErrors
@covers ::setElementErrorsFromFormState
FormGroupingElementsTest class core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Tests for form grouping elements.
FormGroupingElementsTest.php file core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php
FormGroupingElementsTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php The theme to install as the default for testing.
FormGroupingElementsTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Required modules.
FormGroupingElementsTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php
FormGroupingElementsTest::testDetailsChildVisibility function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Tests that details element children become visible.
FormGroupingElementsTest::testDetailsContainsRequiredTextfield function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Tests form submit with a required field in closed details element.
FormGroupingElementsTest::testDetailsContainsRequiredTextfieldAjaxForm function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Tests required field in closed details element with ajax form.
FormGroupingElementsTest::testVerticalTabChildVisibility function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Tests that vertical tab children become visible.
FormGroupingElementsTest::testVerticalTabValidationVisibility function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Confirms tabs containing a field with a validation error are open.
FormHelperTest::providerElements function core/tests/Drupal/Tests/Core/Form/FormHelperTest.php Provides a list of elements to test.
FormState::$has_file_element property core/lib/Drupal/Core/Form/FormState.php
FormState::$triggering_element property core/lib/Drupal/Core/Form/FormState.php
FormState::getTriggeringElement function core/lib/Drupal/Core/Form/FormState.php Gets the form element that triggered submission.
FormState::hasFileElement function core/lib/Drupal/Core/Form/FormState.php Returns whether this form has a file element.
FormState::setHasFileElement function core/lib/Drupal/Core/Form/FormState.php Sets that this form has a file element.
FormState::setTriggeringElement function core/lib/Drupal/Core/Form/FormState.php Sets the form element that triggered submission.
FormStateDecoratorBase::getTriggeringElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Gets the form element that triggered submission.
FormStateDecoratorBase::hasFileElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns whether this form has a file element.
FormStateDecoratorBase::setHasFileElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets that this form has a file element.
FormStateDecoratorBase::setTriggeringElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the form element that triggered submission.
FormStateDecoratorBase::setValueForElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Changes submitted form values during form validation.
FormStateDecoratorBaseTest::testGetTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::getTriggeringElement
FormStateDecoratorBaseTest::testHasFileElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::hasFileElement
FormStateDecoratorBaseTest::testSetHasFileElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setHasFileElement
FormStateDecoratorBaseTest::testSetTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setTriggeringElement
FormStateDecoratorBaseTest::testSetValueForElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setValueForElement
FormStateInterface::getTriggeringElement function core/lib/Drupal/Core/Form/FormStateInterface.php Gets the form element that triggered submission.
FormStateInterface::hasFileElement function core/lib/Drupal/Core/Form/FormStateInterface.php Returns whether this form has a file element.
FormStateInterface::setHasFileElement function core/lib/Drupal/Core/Form/FormStateInterface.php Sets that this form has a file element.
FormStateInterface::setTriggeringElement function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the form element that triggered submission.
FormStateInterface::setValueForElement function core/lib/Drupal/Core/Form/FormStateInterface.php Changes submitted form values during form validation.
FormStateValuesTrait::setValueForElement function core/lib/Drupal/Core/Form/FormStateValuesTrait.php Implements \Drupal\Core\Form\FormStateInterface::setValueForElement()
FormStateValuesTraitTest::testSetValueForElement function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Tests that setting the value for an element adds to the values.
FormTest::testDisabledElements function core/modules/system/tests/src/Functional/Form/FormTest.php Tests handling of disabled elements.
FormTestBase::$elementInfo property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The element info manager.
FormTestBase::assertFormElement function core/tests/Drupal/Tests/Core/Form/FormTestBase.php Asserts that the expected form structure is found in a form for a given key.
FormTestDisabledElementsForm class core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php Builds a form to test disabled elements.
FormTestDisabledElementsForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php
FormTestDisabledElementsForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php Form constructor.
FormTestDisabledElementsForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php Returns a unique string identifying the form.
FormTestDisabledElementsForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php Form submission handler.
FormTestLimitValidationErrorsForm::elementValidateLimitValidationErrors function core/modules/system/tests/modules/form_test/src/Form/FormTestLimitValidationErrorsForm.php
FormTestStorageForm::elementValidateValueCached function core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php Form element validation handler for 'value' element.

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