Search for all
- Search 7.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Search main for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| TwigExtension::getLink | function | core/ |
Gets a rendered link from a URL object. |
| TwigExtension::getName | function | core/ |
|
| TwigExtension::getNodeVisitors | function | core/ |
|
| TwigExtension::getPath | function | core/ |
Generates a URL path given a route name and parameters. |
| TwigExtension::getTokenParsers | function | core/ |
|
| TwigExtension::getUrl | function | core/ |
Generates an absolute URL given a route name and parameters. |
| TwigExtension::isUrlGenerationSafe | function | core/ |
Determines at compile time whether the generated URL will be safe. |
| TwigExtension::renderVar | function | core/ |
Wrapper around render() for twig printed output. |
| TwigExtension::safeJoin | function | core/ |
Joins several strings together safely. |
| TwigExtension::withoutFilter | function | core/ |
Removes child elements from a copy of the original array. |
| TwigExtension::__construct | function | core/ |
Constructs \Drupal\Core\Template\TwigExtension. |
| TwigExtensionPass | class | core/ |
Adds the twig_extension_hash parameter to the container. |
| TwigExtensionPass.php | file | core/ |
|
| TwigExtensionPass::process | function | core/ |
|
| TwigExtensionTest | class | core/ |
Tests the twig extension. |
| TwigExtensionTest | class | core/ |
Tests Twig extensions. |
| TwigExtensionTest.php | file | core/ |
|
| TwigExtensionTest.php | file | core/ |
|
| TwigExtensionTest::$dateFormatter | property | core/ |
The date formatter. |
| TwigExtensionTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| TwigExtensionTest::$fileUrlGenerator | property | core/ |
The file URL generator mock. |
| TwigExtensionTest::$modules | property | core/ |
Modules to enable. |
| TwigExtensionTest::$renderer | property | core/ |
The renderer. |
| TwigExtensionTest::$systemUnderTest | property | core/ |
The system under test. |
| TwigExtensionTest::$themeManager | property | core/ |
The theme manager. |
| TwigExtensionTest::$urlGenerator | property | core/ |
The URL generator. |
| TwigExtensionTest::providerTestEscaping | function | core/ |
Provides tests data for testEscaping. |
| TwigExtensionTest::providerTestRenderVar | function | core/ |
|
| TwigExtensionTest::providerTestRenderVarEarlyReturn | function | core/ |
Data provider for ::testRenderVarEarlyReturn(). |
| TwigExtensionTest::setUp | function | core/ |
|
| TwigExtensionTest::setUp | function | core/ |
|
| TwigExtensionTest::testActiveTheme | function | core/ |
Tests the active_theme function. |
| TwigExtensionTest::testActiveThemePath | function | core/ |
Tests the active_theme_path function. |
| TwigExtensionTest::testCreateAttribute | function | core/ |
Tests creating attributes within a Twig template. |
| TwigExtensionTest::testDump | function | core/ |
Tests the dump function. |
| TwigExtensionTest::testEscapeWithGeneratedLink | function | core/ |
@covers ::escapeFilter[[api-linebreak]] @covers ::bubbleArgMetadata[[api-linebreak]] |
| TwigExtensionTest::testEscaping | function | core/ |
Tests the escaping. |
| TwigExtensionTest::testFileUrl | function | core/ |
Tests the file_url filter. |
| TwigExtensionTest::testFormatDate | function | core/ |
Tests the format_date filter. |
| TwigExtensionTest::testLinkWithOverriddenAttributes | function | core/ |
@covers ::getLink[[api-linebreak]] |
| TwigExtensionTest::testRenderVar | function | core/ |
@dataProvider providerTestRenderVar |
| TwigExtensionTest::testRenderVarEarlyReturn | function | core/ |
@covers ::renderVar[[api-linebreak]] @dataProvider providerTestRenderVarEarlyReturn |
| TwigExtensionTest::testRenderVarWithGeneratedLink | function | core/ |
@covers ::renderVar[[api-linebreak]] @covers ::bubbleArgMetadata[[api-linebreak]] |
| TwigExtensionTest::testSafeJoin | function | core/ |
@covers ::safeJoin[[api-linebreak]] |
| TwigExtensionTest::testSafeStringEscaping | function | core/ |
Tests the escaping of objects implementing MarkupInterface. |
| TwigExtensionTest::testsRenderEscapedZeroValue | function | core/ |
Tests output of integer and double 0 values of TwigExtension::escapeFilter(). |
| TwigExtensionTest::testsRenderZeroValue | function | core/ |
Tests output of integer and double 0 values of TwigExtension->renderVar(). |
| TwigExtensionTest::testTwigExtensionFilter | function | core/ |
Tests that the Twig extension's filter produces expected output. |
| TwigExtensionTest::testTwigExtensionFunction | function | core/ |
Tests that the Twig extension's function produces expected output. |
| TwigExtensionTest::testTwigExtensionLoaded | function | core/ |
Tests that the provided Twig extension loads the service appropriately. |
Pagination
- Previous page
- Page 1531
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.