Search for all
- Search 7.x for all
- Search 9.5.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| TwigDeprecationsTest::testSingleDeprecation | function | core/ |
Test deprecation of single variable triggers error. |
| TwigDeprecationsTest::testThemeTestDeprecations | function | core/ |
Test theme_test_deprecations_preprocess renders without deprecations. |
| TwigDeprecationsTest::testUndefinedDeprecation | function | core/ |
Test deprecation of undefined variable triggers no error. |
| TwigEnvironment | class | core/ |
A class that defines a Twig environment for Drupal. |
| TwigEnvironment.php | file | core/ |
|
| TwigEnvironment::$state | property | core/ |
The state service. |
| TwigEnvironment::$templateClasses | property | core/ |
Static cache of template classes. |
| TwigEnvironment::$twigCachePrefix | property | core/ |
The template cache filename prefix. |
| TwigEnvironment::CACHE_PREFIX_METADATA_KEY | constant | core/ |
Key name of the Twig cache prefix metadata key-value pair in State. |
| TwigEnvironment::compileSource | function | core/ |
|
| TwigEnvironment::getTemplateClass | function | core/ |
Gets the template class associated with the given string. |
| TwigEnvironment::getTemplateMetadata | function | core/ |
Retrieves metadata associated with a template. |
| TwigEnvironment::getTwigCachePrefix | function | core/ |
Get the cache prefixed used by \Drupal\Core\Template\TwigPhpStorageCache. |
| TwigEnvironment::invalidate | function | core/ |
Invalidates all compiled Twig templates. |
| TwigEnvironment::renderInline | function | core/ |
Renders a twig string directly. |
| TwigEnvironment::__construct | function | core/ |
Creates a TwigEnvironment object, including its cache and storage. |
| TwigEnvironmentTest | class | core/ |
Tests the twig environment. |
| TwigEnvironmentTest | class | core/ |
Tests Twig environment. |
| TwigEnvironmentTest | class | core/ |
Tests Twig environment. |
| TwigEnvironmentTest.php | file | core/ |
|
| TwigEnvironmentTest.php | file | core/ |
|
| TwigEnvironmentTest.php | file | core/ |
|
| TwigEnvironmentTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| TwigEnvironmentTest::$modules | property | core/ |
Modules to install. |
| TwigEnvironmentTest::$modules | property | core/ |
|
| TwigEnvironmentTest::$modules | property | core/ |
|
| TwigEnvironmentTest::register | function | core/ |
|
| TwigEnvironmentTest::testCacheFilename | function | core/ |
Ensures that cacheFilename() varies by extensions + deployment identifier. |
| TwigEnvironmentTest::testInlineTemplate | function | core/ |
Tests inline templates. |
| TwigEnvironmentTest::testTemplateClassname | function | core/ |
Ensures that templates resolve to the same class name and cache file. |
| TwigEnvironmentTest::testTemplateInvalidation | function | core/ |
Tests template invalidation. |
| TwigEnvironmentTest::testTemplateNotFoundException | function | core/ |
Tests that exceptions are thrown when a template is not found. |
| TwigEnvironmentTest::testTwigEmbed | function | core/ |
Tests template class loading with Twig embed. |
| TwigEnvironmentTest::testTwigEmbed | function | core/ |
Tests template class loading with Twig embed. |
| TwigEnvironmentTest::testTwigFilePrefixChange | function | core/ |
Test twig file prefix change. |
| TwigExtension | class | core/ |
A class providing Drupal Twig extensions. |
| TwigExtension.php | file | core/ |
|
| TwigExtension::$dateFormatter | property | core/ |
The date formatter. |
| TwigExtension::$fileUrlGenerator | property | core/ |
The file URL generator. |
| TwigExtension::$renderer | property | core/ |
The renderer. |
| TwigExtension::$themeManager | property | core/ |
The theme manager. |
| TwigExtension::$urlGenerator | property | core/ |
The URL generator. |
| TwigExtension::addClass | function | core/ |
Adds a value into the class attributes of a given element. |
| TwigExtension::attachLibrary | function | core/ |
Attaches an asset library to the template, and hence to the response. |
| TwigExtension::bubbleArgMetadata | function | core/ |
Bubbles Twig template argument's cacheability & attachment metadata. |
| TwigExtension::checkDeprecations | function | core/ |
Triggers a deprecation error if a variable is deprecated. |
| TwigExtension::createAttribute | function | core/ |
Creates an Attribute object. |
| TwigExtension::escapeFilter | function | core/ |
Overrides twig_escape_filter(). |
| TwigExtension::escapePlaceholder | function | core/ |
Provides a placeholder wrapper around ::escapeFilter. |
| TwigExtension::getActiveTheme | function | core/ |
Gets the name of the active theme. |
Pagination
- Previous page
- Page 1683
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.