Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search 11.x for %s
  6. Other projects
Title Object type File name Summary
TwigDeprecationsTest::$modules property core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Modules to install.
TwigDeprecationsTest::assertRendered function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Assert that 'theme_test_deprecations_preprocess' renders expected text.
TwigDeprecationsTest::getDeprecationMessage function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Get an example deprecation message for a named variable.
TwigDeprecationsTest::testAssignedVariableDeprecation function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of variables assigned inside template triggers no error.
TwigDeprecationsTest::testEmptyDeprecation function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of empty variable triggers error.
TwigDeprecationsTest::testHookThemeDeprecations function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecating variables at definition in hook_theme().
TwigDeprecationsTest::testMultipleDeprecations function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of multiple variables triggers errors.
TwigDeprecationsTest::testParentVariableDeprecation function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of variables in parent does not leak to child.
TwigDeprecationsTest::testSingleDeprecation function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of single variable triggers error.
TwigDeprecationsTest::testThemeTestDeprecations function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test theme_test_deprecations_preprocess renders without deprecations.
TwigDeprecationsTest::testUndefinedDeprecation function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecation of undefined variable triggers no error.
TwigEnvironment::$state property core/lib/Drupal/Core/Template/TwigEnvironment.php The state service.
TwigEnvironment::$templateClasses property core/lib/Drupal/Core/Template/TwigEnvironment.php Static cache of template classes.
TwigEnvironment::compileSource function core/lib/Drupal/Core/Template/TwigEnvironment.php
TwigEnvironment::getTemplateClass function core/lib/Drupal/Core/Template/TwigEnvironment.php Gets the template class associated with the given string.
TwigEnvironment::__construct function core/lib/Drupal/Core/Template/TwigEnvironment.php Creates a TwigEnvironment object, including its cache and storage.
TwigEnvironmentTest class core/modules/system/tests/src/Kernel/Theme/TwigEnvironmentTest.php Tests Twig environment.
TwigEnvironmentTest class core/modules/system/tests/src/Functional/Theme/TwigEnvironmentTest.php Tests Twig environment.
TwigEnvironmentTest class core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Tests the twig environment.
TwigEnvironmentTest.php file core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php
TwigEnvironmentTest.php file core/modules/system/tests/src/Kernel/Theme/TwigEnvironmentTest.php
TwigEnvironmentTest.php file core/modules/system/tests/src/Functional/Theme/TwigEnvironmentTest.php
TwigEnvironmentTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/TwigEnvironmentTest.php The theme to install as the default for testing.
TwigEnvironmentTest::$modules property core/modules/system/tests/src/Functional/Theme/TwigEnvironmentTest.php Modules to install.
TwigEnvironmentTest::$modules property core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Modules to install.
TwigEnvironmentTest::$modules property core/modules/system/tests/src/Kernel/Theme/TwigEnvironmentTest.php Modules to install.
TwigEnvironmentTest::register function core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Registers test-specific services.
TwigEnvironmentTest::testCacheFilename function core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Ensures that cacheFilename() varies by extensions + deployment identifier.
TwigEnvironmentTest::testInlineTemplate function core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Tests inline templates.
TwigEnvironmentTest::testTemplateClassname function core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Ensures that templates resolve to the same class name and cache file.
TwigEnvironmentTest::testTemplateInvalidation function core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Tests template invalidation.
TwigEnvironmentTest::testTemplateNotFoundException function core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Tests that exceptions are thrown when a template is not found.
TwigEnvironmentTest::testTwigEmbed function core/modules/system/tests/src/Functional/Theme/TwigEnvironmentTest.php Tests template class loading with Twig embed.
TwigEnvironmentTest::testTwigEmbed function core/modules/system/tests/src/Kernel/Theme/TwigEnvironmentTest.php Tests template class loading with Twig embed.
TwigEnvironmentTest::testTwigFilePrefixChange function core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Test twig file prefix change.
TwigExtension class core/lib/Drupal/Core/Template/TwigExtension.php A class providing Drupal Twig extensions.
TwigExtension.php file core/lib/Drupal/Core/Template/TwigExtension.php
TwigExtension::$dateFormatter property core/lib/Drupal/Core/Template/TwigExtension.php The date formatter.
TwigExtension::$fileUrlGenerator property core/lib/Drupal/Core/Template/TwigExtension.php The file URL generator.
TwigExtension::$renderer property core/lib/Drupal/Core/Template/TwigExtension.php The renderer.
TwigExtension::$themeManager property core/lib/Drupal/Core/Template/TwigExtension.php The theme manager.
TwigExtension::$urlGenerator property core/lib/Drupal/Core/Template/TwigExtension.php The URL generator.
TwigExtension::addClass function core/lib/Drupal/Core/Template/TwigExtension.php Adds a value into the class attributes of a given element.
TwigExtension::attachLibrary function core/lib/Drupal/Core/Template/TwigExtension.php Attaches an asset library to the template, and hence to the response.
TwigExtension::bubbleArgMetadata function core/lib/Drupal/Core/Template/TwigExtension.php Bubbles Twig template argument's cacheability & attachment metadata.
TwigExtension::checkDeprecations function core/lib/Drupal/Core/Template/TwigExtension.php Triggers a deprecation error if a variable is deprecated.
TwigExtension::createAttribute function core/lib/Drupal/Core/Template/TwigExtension.php Creates an Attribute object.
TwigExtension::escapeFilter function core/lib/Drupal/Core/Template/TwigExtension.php Overrides twig_escape_filter().
TwigExtension::escapePlaceholder function core/lib/Drupal/Core/Template/TwigExtension.php Provides a placeholder wrapper around ::escapeFilter.
TwigExtension::getActiveTheme function core/lib/Drupal/Core/Template/TwigExtension.php Gets the name of the active theme.

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