39 #type uses of HtmlTag

BareHtmlPageRenderer::systemPageAttachments in core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php
Helper for system_page_attachments.
BubbleableMetadataTest::providerTestMergeAttachmentsHtmlHeadMerging in core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php
Data provider for testMergeAttachmentsHtmlHeadMerging.
ComponentAsFormElementTest::buildForm in core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php
Form constructor.
ComponentRenderTest::testRenderElementAlters in core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php
Ensures the alter callbacks work properly.
ComponentRenderTest::testRenderEmbedWithNested in core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php
Render a card with slots that include a CTA component.
ComponentRenderTest::testRenderIncludeDataMapping in core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php
Check using a component with an include and no default context.
ConfigSync::buildForm in core/modules/config/src/Form/ConfigSync.php
Form constructor.
CssCollectionRenderer::render in core/lib/Drupal/Core/Asset/CssCollectionRenderer.php
Renders an asset collection.
CssCollectionRendererUnitTest::providerTestRender in core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php
Provides data for the CSS asset rendering test.
EntityViewDisplayOverviewController::overview in core/modules/field_ui/src/Controller/EntityViewDisplayOverviewController.php
Shows the 'Manage display' overview page.
FieldConfigListBuilder::buildRow in core/modules/field_ui/src/FieldConfigListBuilder.php
Builds a row for an entity in the entity listing.
FieldPreprocess::preprocessFieldMultipleValueForm in core/lib/Drupal/Core/Field/FieldPreprocess.php
Prepares variables for individual form element templates.
FieldStorageAddController::getFieldSelectionLinks in core/modules/field_ui/src/Controller/FieldStorageAddController.php
Builds the field selection links.
HtmxTestAttachmentsController::generateHtmxButton in core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php
Static helper to for reusable render array.
JavascriptStatesForm::buildForm in core/modules/system/tests/modules/form_test/src/Form/JavascriptStatesForm.php
Form constructor.
JsCollectionRenderer::render in core/lib/Drupal/Core/Asset/JsCollectionRenderer.php
This class evaluates the aggregation enabled/disabled condition on a group by group basis by testing whether an aggregate file has been made for the group rather than by testing the site-wide aggregation setting. This allows this class to work…
JSInteractionTestForm::buildForm in core/modules/system/tests/modules/js_interaction_test/src/Controller/JSInteractionTestForm.php
Creates the test form.
JSMessageTestController::messageLinks in core/modules/system/tests/modules/js_message_test/src/Controller/JSMessageTestController.php
Displays links to show messages via JavaScript.
JsOnceTestController::onceTest in core/modules/system/tests/modules/js_once_test/src/Controller/JsOnceTestController.php
Provides elements for testing @drupal/once.
KernelTestBaseTest::testRender in core/tests/Drupal/KernelTests/KernelTestBaseTest.php
Tests render.
MediaLibraryWidget::formElement in core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php
Returns the form for a single field widget.
OEmbedFormatter::viewElements in core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php
Builds a renderable array for a field value.
OliveroHooks::preprocessFieldMultipleValueForm in core/themes/olivero/src/Hook/OliveroHooks.php
Implements hook_preprocess_HOOK() for field-multiple-value-form.
OliveroPagePreprocessHooks::preprocessHtml in core/themes/olivero/src/Hook/OliveroPagePreprocessHooks.php
Implements hook_preprocess_HOOK() for HTML document templates.
OliveroThemeSettingsHooks::formSystemThemeSettingsAlter in core/themes/olivero/src/Hook/OliveroThemeSettingsHooks.php
Implements hook_form_FORM_ID_alter().
olivero_form_system_theme_settings_alter in core/themes/olivero/theme-settings.php
Implements hook_form_FORM_ID_alter() for system_theme_settings.
PreprocessHooks::preprocessToolbarUserPicture in core/themes/default_admin/src/Hook/PreprocessHooks.php
Lazy builder callback for the user picture.
PreprocessHooks::toolbarUserPicture in core/themes/admin/src/Hook/PreprocessHooks.php
Lazy builder callback for the user picture.
RenderArrayNonHtmlSubscriberTestController::renderArray in core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php
RenderElementTypesTest::testHtmlTag in core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php
Tests system #type 'html_tag'.
SearchController::view in core/modules/search/src/Controller/SearchController.php
Creates a render array for the search page.
SvgIconBuilder::buildRenderArray in core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php
Builds a render array representation of an SVG.
TableTest::testThemeTableHeaderRenderArray in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
Tests header elements with a mix of string and render array values.
TableTest::testThemeTableRowRenderArray in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
Tests row elements with a mix of string and render array values.
TestItem::storageSettingsForm in core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.php
Returns a form for the storage-level settings.
ToolbarHooks::contextualToolbar in core/modules/toolbar/src/Hook/ToolbarHooks.php
ViewsTestRssThemeHooks::preprocessViewsViewRss in core/modules/views/tests/modules/views_test_rss/src/Hook/ViewsTestRssThemeHooks.php
Implements hook_preprocess_HOOK().
WorkspaceListBuilder::offCanvasRender in core/modules/workspaces_ui/src/WorkspaceListBuilder.php
Renders the off canvas elements.
WorkspaceListBuilder::offCanvasRender in core/modules/workspaces/src/WorkspaceListBuilder.php
Renders the off canvas elements.

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