28 string references to twig in Drupal 8
- ActiveTheme::__construct in core/
lib/ Drupal/ Core/ Theme/ ActiveTheme.php - Constructs an ActiveTheme object.
- ExtensionDiscoveryTest::testExtensionDiscoveryVfs in core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionDiscoveryTest.php - Tests extension discovery in a virtual filesystem with vfsStream.
- GetFilenameTest::testDrupalGetFilename in core/
tests/ Drupal/ KernelTests/ Core/ Bootstrap/ GetFilenameTest.php - Tests that drupal_get_filename() works when the file is not in database.
- HelpTopicTwig::create in core/
modules/ help_topics/ src/ HelpTopicTwig.php - Creates an instance of the plugin.
- hook_render_template in core/
lib/ Drupal/ Core/ Render/ theme.api.php - Render a template using the theme engine.
- HtaccessTest::getProtectedFiles in core/
modules/ system/ tests/ src/ Functional/ System/ HtaccessTest.php - Get an array of file paths for access testing.
- InlineTemplate::preRenderInlineTemplate in core/
lib/ Drupal/ Core/ Render/ Element/ InlineTemplate.php - Renders a twig string directly.
- RegistryLegacyTest::testGetLegacyThemeFunctionRegistryForModule in core/
tests/ Drupal/ Tests/ Core/ Theme/ RegistryLegacyTest.php - Tests getting legacy theme function registry data defined by a module.
- RegistryTest::testGetRegistryForModule in core/
tests/ Drupal/ Tests/ Core/ Theme/ RegistryTest.php - Tests getting the theme registry defined by a module.
- RegistryTest::testPostProcessExtension in core/
tests/ Drupal/ Tests/ Core/ Theme/ RegistryTest.php - @covers ::postProcessExtension @covers ::completeSuggestion @covers ::mergePreprocessFunctions
- ThemeEngineExtensionListTest::testGetlist in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ThemeEngineExtensionListTest.php - @covers ::getList
- ThemeExtensionListTest::testRebuildThemeDataWithThemeParents in core/
tests/ Drupal/ Tests/ Core/ Extension/ ThemeExtensionListTest.php - Tests rebuild the theme data with theme parents.
- ThemeTest::testListThemes in core/
modules/ system/ tests/ src/ Kernel/ Theme/ ThemeTest.php - Test the listInfo() function.
- TwigEnvironmentTest::testCacheFilename in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigEnvironmentTest.php - Ensures that cacheFilename() varies by extensions + deployment identifier.
- TwigEnvironmentTest::testInlineTemplate in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigEnvironmentTest.php - Tests inline templates.
- TwigEnvironmentTest::testTemplateClassname in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigEnvironmentTest.php - Ensures that templates resolve to the same class name and cache file.
- TwigEnvironmentTest::testTemplateInvalidation in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigEnvironmentTest.php - Test template invalidation.
- TwigEnvironmentTest::testTemplateNotFoundException in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigEnvironmentTest.php - Tests that exceptions are thrown when a template is not found.
- TwigExtensionTest::testsRenderEscapedZeroValue in core/
modules/ system/ tests/ src/ Functional/ Theme/ TwigExtensionTest.php - Tests output of integer and double 0 values of TwigExtension::escapeFilter().
- TwigExtensionTest::testTwigExtensionLoaded in core/
modules/ system/ tests/ src/ Functional/ Theme/ TwigExtensionTest.php - Tests that the provided Twig extension loads the service appropriately.
- TwigLoaderTest::testTwigLoaderAddition in core/
modules/ system/ tests/ src/ Functional/ Theme/ TwigLoaderTest.php - Tests adding an additional twig loader to the loader chain.
- TwigNamespaceTest::setUp in core/
modules/ system/ tests/ src/ Kernel/ Theme/ TwigNamespaceTest.php - TwigPhpStorageCache::storage in core/
lib/ Drupal/ Core/ Template/ TwigPhpStorageCache.php - Gets the PHP code storage object to use for the compiled Twig files.
- TwigRegistryLoaderTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Theme/ TwigRegistryLoaderTest.php - TwigSettingsTest::testTwigCacheOverride in core/
modules/ system/ tests/ src/ Functional/ Theme/ TwigSettingsTest.php - Ensures Twig template cache setting can be overridden.
- TwigWhiteListTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigWhiteListTest.php - twig_render_template in core/
themes/ engines/ twig/ twig.engine - Implements hook_render_template().
- xd2.php in core/
lib/ Drupal/ Component/ Transliteration/ data/ xd2.php