70 #type uses of InlineTemplate
- AddFormBase::buildForm in core/
modules/ media_library/ src/ Form/ AddFormBase.php - AjaxTestController::renderTypes in core/
modules/ system/ tests/ modules/ ajax_test/ src/ Controller/ AjaxTestController.php - Example content for testing the wrapper of the response.
- BasicStringFormatter::viewElements in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ BasicStringFormatter.php - BatchTestCallbacks::finishedHelper in core/
modules/ system/ tests/ modules/ batch_test/ src/ BatchTestCallbacks.php - Provides a common 'finished' callback for batches 1 to 7.
- BlockController::demo in core/
modules/ block/ src/ Controller/ BlockController.php - Returns a block theme demo page.
- BlockLibraryController::listBlocks in core/
modules/ block/ src/ Controller/ BlockLibraryController.php - Shows a list of blocks that can be added to a theme's layout.
- ComponentElement::preRenderComponent in core/
modules/ sdc/ src/ Element/ ComponentElement.php - Expands a sdc into an inline template with an attachment.
- ComponentElement::preRenderComponent in core/
lib/ Drupal/ Core/ Render/ Element/ ComponentElement.php - Expands a component into an inline template with an attachment.
- ComponentNegotiatorTest::testRenderWithReplacements in core/
tests/ Drupal/ Tests/ Core/ Theme/ Component/ ComponentNegotiatorTest.php - Tests rendering components with component replacement.
- ComponentNegotiatorTest::testRenderWithReplacements in core/
tests/ Drupal/ KernelTests/ Components/ ComponentNegotiatorTest.php - Tests rendering components with component replacement.
- ComponentNegotiatorTest::testRenderWithReplacements in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentNegotiatorTest.php - Tests rendering components with component replacement.
- ComponentNodeVisitorTest::testOtherVisitorsCanModifyTwigNodes in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentNodeVisitorTest.php - Test that other visitors can modify Twig nodes.
- ComponentNodeVisitorTest::testOtherVisitorsCanModifyTwigNodes in core/
tests/ Drupal/ KernelTests/ Components/ ComponentNodeVisitorTest.php - Test that other visitors can modify Twig nodes.
- ComponentRenderTest::checkArrayObjectTypeCast in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Ensure fuzzy coercing of arrays and objects works properly.
- ComponentRenderTest::checkArrayObjectTypeCast in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Ensure fuzzy coercing of arrays and objects works properly.
- ComponentRenderTest::checkAttributeMerging in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Ensures the attributes are merged properly.
- ComponentRenderTest::checkAttributeMerging in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Ensures the attributes are merged properly.
- ComponentRenderTest::checkEmbedWithNested in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Render a card with slots that include a CTA component.
- ComponentRenderTest::checkEmbedWithNested in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Render a card with slots that include a CTA component.
- ComponentRenderTest::checkIncludeDataMapping in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Check using a component with an include and no default context.
- ComponentRenderTest::checkIncludeDataMapping in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Check using a component with an include and no default context.
- ComponentRenderTest::checkIncludeDefaultContent in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Check using a component with an include and default context.
- ComponentRenderTest::checkIncludeDefaultContent in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Check using a component with an include and default context.
- ComponentRenderTest::checkLibraryOverrides in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Check using the libraryOverrides.
- ComponentRenderTest::checkLibraryOverrides in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Check using the libraryOverrides.
- ComponentRenderTest::checkNonExistingComponent in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Ensures that including an invalid component creates an error.
- ComponentRenderTest::checkNonExistingComponent in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Ensures that including an invalid component creates an error.
- ComponentRenderTest::checkPropValidation in core/
modules/ sdc/ tests/ src/ Kernel/ ComponentRenderTest.php - Ensures the schema violations are reported properly.
- ComponentRenderTest::checkPropValidation in core/
tests/ Drupal/ KernelTests/ Components/ ComponentRenderTest.php - Ensures the schema violations are reported properly.
- ComponentRenderTest::testCssLibraryAttachesCorrectly in core/
modules/ sdc/ tests/ src/ FunctionalJavascript/ ComponentRenderTest.php - Tests that the correct libraries are put on the page using CSS.
- ComponentRenderTest::testCssLibraryAttachesCorrectly in core/
tests/ Drupal/ FunctionalJavascriptTests/ Components/ ComponentRenderTest.php - Tests that the correct libraries are put on the page using CSS.
- ComponentRenderTest::testJsLibraryAttachesCorrectly in core/
tests/ Drupal/ FunctionalJavascriptTests/ Components/ ComponentRenderTest.php - Tests that the correct libraries are put on the page using JS.
- ComponentRenderTest::testJsLibraryAttachesCorrectly in core/
modules/ sdc/ tests/ src/ FunctionalJavascript/ ComponentRenderTest.php - Tests that the correct libraries are put on the page using JS.
- ComponentRenderTest::testLibraryOverrides in core/
tests/ Drupal/ FunctionalTests/ Components/ ComponentRenderTest.php - Tests libraryOverrides.
- ComponentRenderTest::testLibraryOverrides in core/
modules/ sdc/ tests/ src/ Functional/ ComponentRenderTest.php - Tests libraryOverrides.
- ContentModerationConfigureForm::buildConfigurationForm in core/
modules/ content_moderation/ src/ Form/ ContentModerationConfigureForm.php - ContentTranslationController::overview in core/
modules/ content_translation/ src/ Controller/ ContentTranslationController.php - Builds the translations overview page.
- DemoUmamiHooks::toolbar in core/
profiles/ demo_umami/ src/ Hook/ DemoUmamiHooks.php - Implements hook_toolbar().
- demo_umami_toolbar in core/
profiles/ demo_umami/ demo_umami.profile - Implements hook_toolbar().
- EntityDisplayFormBase::buildFieldRow in core/
modules/ field_ui/ src/ Form/ EntityDisplayFormBase.php - Builds the table row structure for a single field.
- EntityField::renderItems in core/
modules/ views/ src/ Plugin/ views/ field/ EntityField.php - Render all items in this field together.
- FieldPluginBaseTest::testElementClassesWithTokens in core/
modules/ views/ tests/ src/ Unit/ Plugin/ field/ FieldPluginBaseTest.php - Ensures proper token replacement when generating CSS classes.
- FieldPluginBaseTest::testRenderAsExternalLinkWithPathAndTokens in core/
modules/ views/ tests/ src/ Unit/ Plugin/ field/ FieldPluginBaseTest.php - Tests rendering of a link with a path and options.
- FieldPluginBaseTest::testRenderAsLinkWithPathAndTokens in core/
modules/ views/ tests/ src/ Unit/ Plugin/ field/ FieldPluginBaseTest.php - Tests rendering of a link with a path and options.
- HelpTopicsSyntaxTest::renderHelpTopic in core/
modules/ help/ tests/ src/ Functional/ HelpTopicsSyntaxTest.php - Renders a help topic in a special manner.
- Icon::preRenderIcon in core/
lib/ Drupal/ Core/ Render/ Element/ Icon.php - Icon element pre render callback.
- IconTest::providerPreRenderIcon in core/
tests/ Drupal/ Tests/ Core/ Theme/ Icon/ IconTest.php - Data provider for ::testPreRenderIcon().
- install_display_requirements in core/
includes/ install.core.inc - Displays installation requirements.
- MediaTypeDeleteConfirmForm::buildForm in core/
modules/ media/ src/ Form/ MediaTypeDeleteConfirmForm.php - Form constructor.
- NodeContextTestBlock::build in core/
modules/ node/ tests/ modules/ node_block_test/ src/ Plugin/ Block/ NodeContextTestBlock.php - NodeController::revisionOverview in core/
modules/ node/ src/ Controller/ NodeController.php - Generates an overview table of older revisions of a node.
- PluginBase::viewsTokenReplace in core/
modules/ views/ src/ Plugin/ views/ PluginBase.php - Replaces Views' tokens in a given string.
- PrerenderList::renderItems in core/
modules/ views/ src/ Plugin/ views/ field/ PrerenderList.php - SiteSettingsForm::getDatabaseErrorsTemplate in core/
lib/ Drupal/ Core/ Installer/ Form/ SiteSettingsForm.php - Gets the inline template render array to display the database errors.
- StringFormatter::viewValue in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ StringFormatter.php - Generate the output appropriate for one field item.
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
- template_preprocess_search_result in core/
modules/ search/ search.pages.inc - Prepares variables for individual search result templates.
- template_preprocess_views_view_table in core/
modules/ views/ views.theme.inc - Prepares variables for views table templates.
- TestInlineTemplateFormBlock::build in core/
modules/ layout_builder/ tests/ modules/ layout_builder_form_block_test/ src/ Plugin/ Block/ TestInlineTemplateFormBlock.php - ThemeTestController::testInlineTemplate in core/
modules/ system/ tests/ modules/ theme_test/ src/ ThemeTestController.php - Tests the inline template functionality.
- TranslateEditForm::buildForm in core/
modules/ locale/ src/ Form/ TranslateEditForm.php - Form constructor.
- TwigEnvironmentTest::testInlineTemplate in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigEnvironmentTest.php - Tests inline templates.
- TwigIncludeTest::testTemplateInclusion in core/
modules/ system/ tests/ src/ Kernel/ Theme/ TwigIncludeTest.php - Tests template inclusion extension checking.
- TwigMarkupInterfaceTest::renderObjectWithTwig in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigMarkupInterfaceTest.php - TwigTransTest::testEmptyTwigTransTags in core/
modules/ system/ tests/ src/ Functional/ Theme/ TwigTransTest.php - Tests empty Twig "trans" tags.
- UpdateManagerUpdate::buildForm in core/
modules/ update/ src/ Form/ UpdateManagerUpdate.php - Form constructor.
- UserPermissionsForm::buildForm in core/
modules/ user/ src/ Form/ UserPermissionsForm.php - VersionHistoryController::getRevisionDescription in core/
lib/ Drupal/ Core/ Entity/ Controller/ VersionHistoryController.php - Get a description of the revision.
- ViewUI::renderPreview in core/
modules/ views_ui/ src/ ViewUI.php - _batch_test_finished_helper in core/
modules/ system/ tests/ modules/ batch_test/ batch_test.callbacks.inc - Provides a common 'finished' callback for batches 1 to 7.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.