Search for elements

  1. Search 7.x for elements
  2. Search 9.5.x for elements
  3. Search 8.9.x for elements
  4. Search 10.3.x for elements
  5. Other projects
Title Object type File name Summary
FileMediaFormatterBase::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php
FileSize::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php
FileWidget::formMultipleElements function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Overrides \Drupal\Core\Field\WidgetBase::formMultipleElements().
FilterTest::filterVisibleElements function core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/FilterTest.php Removes any non-visible elements from the passed array.
FormatterInterface::viewElements function core/lib/Drupal/Core/Field/FormatterInterface.php Builds a renderable array for a field value.
FormElementsRenderTest class core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php Performs integration tests on \Drupal::service('renderer')->render().
FormElementsRenderTest.php file core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php
FormElementsRenderTest::$modules property core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php
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().
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
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.
FormTest::testDisabledElements function core/modules/system/tests/src/Functional/Form/FormTest.php Tests handling of disabled elements.
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
FormTestDisabledElementsForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php
FormTestDisabledElementsForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestDisabledElementsForm.php
FundamentalCompatibilityConstraint::$missingElementsMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraint.php The violation message when CKE5 can generate disallowed HTML elements.
FundamentalCompatibilityConstraint::$nonAllowedElementsMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraint.php The violation message when fundamental HTML elements are not allowed.
FundamentalCompatibilityConstraint::$notSupportedElementsMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraint.php The violation message when HTML elements cannot be generated by CKE5.
GenericFileFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php
Heading::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Heading.php
HTMLRestrictions::$elements property core/modules/ckeditor5/src/HTMLRestrictions.php An array of allowed elements.
HTMLRestrictions::findElementsOverridingGloballyDisallowedAttributes function core/modules/ckeditor5/src/HTMLRestrictions.php Finds elements overriding globally disallowed attributes.
HTMLRestrictions::getAllowedElements function core/modules/ckeditor5/src/HTMLRestrictions.php Gets allowed elements.
HTMLRestrictions::mergeAllowedElementsLevel function core/modules/ckeditor5/src/HTMLRestrictions.php Merge arrays of allowed elements according to HTMLRestrictions rules.
HTMLRestrictions::toCKEditor5ElementsArray function core/modules/ckeditor5/src/HTMLRestrictions.php Transforms into the CKEditor 5 package metadata "elements" representation.
HtmlTag::$voidElements property core/lib/Drupal/Core/Render/Element/HtmlTag.php Void elements do not contain values or closing tags.
ImageFormatter::viewElements function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php
ImageUrlFormatter::viewElements function core/modules/image/src/Plugin/Field/FieldFormatter/ImageUrlFormatter.php
ImageWidget::formMultipleElements function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php
JavascriptStatesTest::doElementsDisabledStateTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests the submit button, select and textarea disabled states.
JSInteractionTest::testElementsInteraction function core/tests/Drupal/FunctionalJavascriptTests/Tests/JSInteractionTest.php Assert no exception is thrown when elements become interactive.
language_elements_test.info.yml file core/modules/language/tests/language_elements_test/language_elements_test.info.yml core/modules/language/tests/language_elements_test/language_elements_test.info.yml
language_elements_test.routing.yml file core/modules/language/tests/language_elements_test/language_elements_test.routing.yml core/modules/language/tests/language_elements_test/language_elements_test.routing.yml
LayoutForm::handleFormElementsVisibility function core/modules/navigation/src/Form/LayoutForm.php Handles visibility of the form elements based on the edit mode status.
LinkFormatter::viewElements function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php
LinkSeparateFormatter::viewElements function core/modules/link/src/Plugin/Field/FieldFormatter/LinkSeparateFormatter.php
ListPlugin::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/ListPlugin.php
MailTest::testRenderedElementsUseAbsolutePaths function core/modules/system/tests/src/Kernel/Mail/MailTest.php Checks that mails built from render arrays contain absolute paths.

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