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 11.x for elements
  5. Other projects
Title Object type File name Summary
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
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.
TestFieldNoSettingsFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldNoSettingsFormatter.php Builds a renderable array for a field value.
TestFieldPrepareViewFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldPrepareViewFormatter.php Builds a renderable array for a field value.
TestPlaceholderingRenderCache::$placeholderElements property core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php The placeholder elements created during rendering.
TextDefaultFormatter::viewElements function core/modules/text/src/Plugin/Field/FieldFormatter/TextDefaultFormatter.php Builds a renderable array for a field value.
TextTrimmedFormatter::viewElements function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Builds a renderable array for a field value.
TimestampAgoFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php Builds a renderable array for a field value.
TimestampFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Builds a renderable array for a field value.
TypedConfigInterface::getElements function core/lib/Drupal/Core/Config/Schema/TypedConfigInterface.php Gets an array of contained elements.
UriLinkFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/UriLinkFormatter.php Builds a renderable array for a field value.
UrlPlainFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/UrlPlainFormatter.php Builds a renderable array for a field value.
UserNameFormatter::viewElements function core/modules/user/src/Plugin/Field/FieldFormatter/UserNameFormatter.php Builds a renderable array for a field value.
ViewExecutable::hasFormElements function core/modules/views/src/ViewExecutable.php Determines if this view has form elements.
ViewsListingTest::filterVisibleElements function core/modules/views_ui/tests/src/FunctionalJavascript/ViewsListingTest.php Removes any non-visible elements from the passed array.
WidgetBase::formMultipleElements function core/lib/Drupal/Core/Field/WidgetBase.php Special handling to create form elements for multiple values.

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