TwigExtension::doValidateProps |
function |
core/modules/sdc/src/Twig/TwigExtension.php |
Performs the actual validation of the schema for the props. |
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. |
TwigExtension::getActiveThemePath |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
Gets the path of the active theme. |
TwigExtension::getFileUrl |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
Gets the file URL. |
TwigExtension::getFilters |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
|
TwigExtension::getFunctions |
function |
core/modules/sdc/src/Twig/TwigExtension.php |
|
TwigExtension::getFunctions |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
|
TwigExtension::getLink |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
Gets a rendered link from a URL object. |
TwigExtension::getName |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
|
TwigExtension::getNodeVisitors |
function |
core/modules/sdc/src/Twig/TwigExtension.php |
|
TwigExtension::getNodeVisitors |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
|
TwigExtension::getPath |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
Generates a URL path given a route name and parameters. |
TwigExtension::getTokenParsers |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
|
TwigExtension::getUrl |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
Generates an absolute URL given a route name and parameters. |
TwigExtension::isUrlGenerationSafe |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
Determines at compile time whether the generated URL will be safe. |
TwigExtension::mergeAdditionalRenderContext |
function |
core/modules/sdc/src/Twig/TwigExtension.php |
Calculates additional context for this template. |
TwigExtension::renderVar |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
Wrapper around render() for twig printed output. |
TwigExtension::safeJoin |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
Joins several strings together safely. |
TwigExtension::setAttribute |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
Sets an attribute on a given element. |
TwigExtension::suggestThemeHook |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
Adds a theme suggestion to the element. |
TwigExtension::validateProps |
function |
core/modules/sdc/src/Twig/TwigExtension.php |
Validates the props in development environments. |
TwigExtension::withoutFilter |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
Removes child elements from a copy of the original array. |
TwigExtension::__construct |
function |
core/modules/sdc/src/Twig/TwigExtension.php |
Creates TwigExtension. |
TwigExtension::__construct |
function |
core/lib/Drupal/Core/Template/TwigExtension.php |
Constructs \Drupal\Core\Template\TwigExtension. |
TwigExtensionPass |
class |
core/lib/Drupal/Core/DependencyInjection/Compiler/TwigExtensionPass.php |
Adds the twig_extension_hash parameter to the container. |
TwigExtensionPass.php |
file |
core/lib/Drupal/Core/DependencyInjection/Compiler/TwigExtensionPass.php |
|
TwigExtensionPass::process |
function |
core/lib/Drupal/Core/DependencyInjection/Compiler/TwigExtensionPass.php |
|
TwigExtensionTest |
class |
core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php |
Tests Twig extensions. |
TwigExtensionTest |
class |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
Tests the twig extension. |
TwigExtensionTest.php |
file |
core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php |
|
TwigExtensionTest.php |
file |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
|
TwigExtensionTest::$dateFormatter |
property |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
The date formatter. |
TwigExtensionTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php |
The theme to install as the default for testing. |
TwigExtensionTest::$fileUrlGenerator |
property |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
The file URL generator mock. |
TwigExtensionTest::$modules |
property |
core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php |
Modules to install. |
TwigExtensionTest::$renderer |
property |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
The renderer. |
TwigExtensionTest::$systemUnderTest |
property |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
The system under test. |
TwigExtensionTest::$themeManager |
property |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
The theme manager. |
TwigExtensionTest::$urlGenerator |
property |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
The URL generator. |
TwigExtensionTest::providerTestEscaping |
function |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
Provides tests data for testEscaping. |
TwigExtensionTest::providerTestRenderVar |
function |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
|
TwigExtensionTest::providerTestRenderVarEarlyReturn |
function |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
Data provider for ::testRenderVarEarlyReturn(). |
TwigExtensionTest::providerTestTwigAddClass |
function |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
Provides data for ::testTwigAddClass(). |
TwigExtensionTest::providerTestTwigAddSuggestionFilter |
function |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
Provides data for ::testTwigAddSuggestionFilter(). |
TwigExtensionTest::providerTestTwigSetAttribute |
function |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
A data provider for ::testTwigSetAttribute(). |
TwigExtensionTest::setUp |
function |
core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php |
|
TwigExtensionTest::setUp |
function |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
|
TwigExtensionTest::testActiveTheme |
function |
core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php |
Tests the active_theme function. |