Search for elements

  1. Search 7.x for elements
  2. Search 8.9.x for elements
  3. Search 10.3.x for elements
  4. Search 11.x for elements
  5. Other projects
Title Object type File name Summary
FormElementsRenderTest::$modules property core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php Modules to enable.
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 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::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 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.
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 Builds a renderable array for a field value.
Heading::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Heading.php Returns a configured subset of the elements supported by this plugin.
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 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::formMultipleElements function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Overrides \Drupal\file\Plugin\Field\FieldWidget\FileWidget::formMultipleElements().
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
LinkFormatter::viewElements function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php Builds a renderable array for a field value.
LinkSeparateFormatter::viewElements function core/modules/link/src/Plugin/Field/FieldFormatter/LinkSeparateFormatter.php Builds a renderable array for a field value.
ListPlugin::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/ListPlugin.php Returns a configured subset of the elements supported by this plugin.
MailTest::testRenderedElementsUseAbsolutePaths function core/modules/system/tests/src/Kernel/Mail/MailTest.php Checks that mails built from render arrays contain absolute paths.
MailToFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/MailToFormatter.php Builds a renderable array for a field value.
Media::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Media.php Returns a configured subset of the elements supported by this plugin.
MediaLibraryTestBase::waitForElementsCount function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Checks for a specified number of specific elements on page after wait.
MediaThumbnailFormatter::viewElements function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Builds a renderable array for a field value.
NumericFormatterBase::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/NumericFormatterBase.php Builds a renderable array for a field value.
NumericUnformattedFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/NumericUnformattedFormatter.php Builds a renderable array for a field value.
OEmbedFormatter::viewElements function core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php Builds a renderable array for a field value.
OptionsDefaultFormatter::viewElements function core/modules/options/src/Plugin/Field/FieldFormatter/OptionsDefaultFormatter.php Builds a renderable array for a field value.
OptionsKeyFormatter::viewElements function core/modules/options/src/Plugin/Field/FieldFormatter/OptionsKeyFormatter.php Builds a renderable array for a field value.
Page header for Elements page group core/lib/Drupal/Core/Render/theme.api.php Introduction to form and render elements
PathBasedBreadcrumbBuilderTest::testBuildWithThreePathElements function core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php Tests the build method with three path elements.

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