Search for element

  1. Search 7.x for element
  2. Search 9.5.x for element
  3. Search 10.3.x for element
  4. Search 11.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
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 Test 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.
FormTestValidateRequiredForm::elementValidateRequired function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php
FormValidatorTest::testElementValidate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::doValidateForm
GenericFileFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php Builds a renderable array for a field value.
hook_element_info_alter function core/lib/Drupal/Core/Render/theme.api.php Alter the element type information returned from modules.
hook_element_plugin_alter function core/lib/Drupal/Core/Render/theme.api.php Alter Element plugin definitions.
Html::escapeCdataElement function core/lib/Drupal/Component/Utility/Html.php Adds comments around a <!CDATA section in a \DOMNode.
HtmlTag::$voidElements property core/lib/Drupal/Core/Render/Element/HtmlTag.php Void elements do not contain values or closing tags.
ImageFieldWidgetMultipleTest::testWidgetElementMultipleUploads function core/modules/image/tests/src/FunctionalJavascript/ImageFieldWidgetMultipleTest.php Tests image widget element support multiple upload correctly.
ImageFieldWidgetTest::testWidgetElement function core/modules/image/tests/src/Functional/ImageFieldWidgetTest.php Tests file widget element.
ImageFormatter::viewElements function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php Builds a renderable array for a field value.
ImageUrlFormatter::viewElements function core/modules/image/src/Plugin/Field/FieldFormatter/ImageUrlFormatter.php Builds a renderable array for a field value.
ImageWidget::formElement function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Returns the form for a single field widget.
ImageWidget::formMultipleElements function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Overrides \Drupal\file\Plugin\Field\FieldWidget\FileWidget::formMultipleElements().
InlineBlockTestBase::waitForNoElement function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php Waits for an element to be removed from the page.
inline_form_errors_element_info_alter function core/modules/inline_form_errors/inline_form_errors.module Implements hook_element_info_alter().
inline_form_errors_preprocess_form_element function core/modules/inline_form_errors/inline_form_errors.module Implements hook_preprocess_HOOK() for form element templates.
JSWebAssert::assertNoElementAfterWait function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Asserts that no matching element exists on the page after a wait.
JSWebAssert::waitForElement function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for the specified selector and returns it when available.
JSWebAssert::waitForElementRemoved function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Looks for the specified selector and returns TRUE when it is unavailable.
JSWebAssert::waitForElementVisible function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for the specified selector and returns it when available and visible.
JsWebAssertTestForm::addWaitForElementVisible function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Ajax callback for the "Test waitForElementVisible" button.
JUnitConverter::xmlElementToRows function core/lib/Drupal/Core/Test/JUnitConverter.php Parse test cases from XML to {simpletest} schema.
JUnitConverterTest::testXmlElementToRows function core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php @covers ::xmlElementToRows
LanguageConfigurationElement class core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php A form containing a language configuration element.
LanguageConfigurationElement.php file core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php
LanguageConfigurationElement::buildForm function core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php Form constructor.
LanguageConfigurationElement::getFormId function core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php Returns a unique string identifying the form.
LanguageConfigurationElement::submitForm function core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElement.php Form submission handler.

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