Search for elements

  1. Search 7.x for elements
  2. Search 9.5.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
ElementTest::testGroupElements function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests the #group property.
EntityReferenceEntityFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php Builds a renderable array for a field value.
EntityReferenceIdFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php Builds a renderable array for a field value.
EntityReferenceLabelFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php Builds a renderable array for a field value.
EntityReferenceTaxonomyTermRssFormatter::viewElements function core/modules/taxonomy/src/Plugin/Field/FieldFormatter/EntityReferenceTaxonomyTermRssFormatter.php Builds a renderable array for a field value.
EntityTestReferenceCustomCacheTagFormatter::viewElements function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldFormatter/EntityTestReferenceCustomCacheTagFormatter.php Builds a renderable array for a field value.
FieldHandlerInterface::getElements function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Provides a list of elements valid for field HTML.
FieldPluginBase::getElements function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Provides a list of elements valid for field HTML.
FileMediaFormatterBase::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Builds a renderable array for a field value.
FileSize::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php Builds a renderable array for a field value.
FileWidget::formMultipleElements function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Overrides \Drupal\Core\Field\WidgetBase::formMultipleElements().
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_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 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 passing through
\Drupal::formBuilder()->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.
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 Test 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.
GenericFileFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php Builds a renderable array for a field value.
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().
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.
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.
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

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