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. Search main for elements
  6. Other projects
Title Object type File name Summary
HtmlTag::$voidElements property core/lib/Drupal/Core/Render/Element/HtmlTag.php Void elements do not contain values or closing tags.
HttpKernelUiHelperTrait::getNodeElementsByXpath function core/tests/Drupal/Tests/HttpKernelUiHelperTrait.php Performs an xpath search on the contents of the internal browser.
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\Core\Field\WidgetBase::formMultipleElements().
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 @phpstan-param \Drupal\Core\Field\FieldItemListInterface<\Drupal\link\LinkItemInterface> $items
LinkSeparateFormatter::viewElements function core/modules/link/src/Plugin/Field/FieldFormatter/LinkSeparateFormatter.php @phpstan-param \Drupal\Core\Field\FieldItemListInterface<\Drupal\link\LinkItemInterface> $items
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.
ModuleFilterTest::filterVisibleElements function core/modules/system/tests/src/FunctionalJavascript/ModuleFilterTest.php Removes any non-visible elements from the passed array.
ModuleUninstallFilterTest::filterVisibleElements function core/modules/system/tests/src/FunctionalJavascript/ModuleUninstallFilterTest.php Removes any non-visible elements from the passed array.
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.
PathBasedBreadcrumbBuilderTest::testBuildWithTwoPathElements function core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php Tests the build method with two path elements.
PermissionFilterTest::filterVisibleElements function core/modules/user/tests/src/FunctionalJavascript/PermissionFilterTest.php Removes any non-visible elements from the passed array.
RenderElementTypesTest::assertElements function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Asserts that an array of elements is rendered properly.
RendererRecursionTest::setUpRenderRecursionComplexElements function core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php
ResponsiveImageFormatter::viewElements function core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php Builds a renderable array for a field value.
ResponsiveImageTestFormatter::viewElements function core/modules/responsive_image/tests/modules/responsive_image_test_module/src/Plugin/Field/FieldFormatter/ResponsiveImageTestFormatter.php Builds a renderable array for a field value.
Rss::$channel_elements property core/modules/views/src/Plugin/views/style/Rss.php The channel elements.
Rss::getChannelElements function core/modules/views/src/Plugin/views/style/Rss.php Return an array of additional XHTML elements to add to the channel.
RSSEnclosureFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/RSSEnclosureFormatter.php Builds a renderable array for a field value.
SmartDefaultSettings::addToolbarItemsToMatchHtmlElementsInFormat function core/modules/ckeditor5/src/SmartDefaultSettings.php Adds CKEditor 5 toolbar items to match the format's HTML elements.
SmartDefaultSettings::computeNetNewElementsForPlugin function core/modules/ckeditor5/src/SmartDefaultSettings.php Computes net new needed elements when considering adding the given plugin.
SneakySuperset::getElementsSubset function core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_subset/src/Plugin/CKEditor5Plugin/SneakySuperset.php Returns a configured subset of the elements supported by this plugin.
SourceEditing::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/SourceEditing.php Returns a configured subset of the elements supported by this plugin.
StringFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php Builds a renderable array for a field value.
Style::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Style.php Returns a configured subset of the elements supported by this plugin.
StyleTestBase::$elements property core/modules/views/tests/src/Kernel/Plugin/StyleTestBase.php Stores the SimpleXML representation of the output.
TableFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/TableFormatter.php Builds a renderable array for a field value.
TelephoneLinkFormatter::viewElements function core/modules/telephone/src/Plugin/Field/FieldFormatter/TelephoneLinkFormatter.php Builds a renderable array for a field value.
TestFieldApplicableFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldApplicableFormatter.php Builds a renderable array for a field value.
TestFieldDefaultFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldDefaultFormatter.php Builds a renderable array for a field value.
TestFieldEmptyFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldEmptyFormatter.php Builds a renderable array for a field value.
TestFieldEmptySettingFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldEmptySettingFormatter.php Builds a renderable array for a field value.
TestFieldMultipleFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldMultipleFormatter.php Builds a renderable array for a field value.

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