Search for %s

  1. Search 7.x for %s
  2. Search 8.9.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
TrustedRedirectResponse::isSafe function core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php Returns whether the URL is considered as safe to redirect to.
TrustedRedirectResponse::setTrustedTargetUrl function core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php Sets the target URL to a trusted URL.
TrustedRedirectResponse::__construct function core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php
TrustedRedirectResponseTest class core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @coversDefaultClass \Drupal\Core\Routing\TrustedRedirectResponse[[api-linebreak]]
@group Routing
TrustedRedirectResponseTest.php file core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php
TrustedRedirectResponseTest::providerCreateFromRedirectResponse function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php
TrustedRedirectResponseTest::testCreateFromRedirectResponse function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::createFromRedirectResponse[[api-linebreak]]
@dataProvider providerCreateFromRedirectResponse
TrustedRedirectResponseTest::testSetTargetUrlWithInternalUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::setTargetUrl[[api-linebreak]]
TrustedRedirectResponseTest::testSetTargetUrlWithTrustedUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::setTargetUrl[[api-linebreak]]
TrustedRedirectResponseTest::testSetTargetUrlWithUntrustedUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::setTargetUrl[[api-linebreak]]
trusted_hosts_test.info.yml file core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.info.yml core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.info.yml
trusted_hosts_test.routing.yml file core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.routing.yml core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.routing.yml
twig-autoescape-test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-autoescape-test.html.twig {# Template for testing autoescape. #}
{{ script }}
twig-raw-test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-raw-test.html.twig {# Template for testing |raw with autoescape. #}
{% autoescape %}
{{ script|raw }}
{% endautoescape %}
twig-registry-loader-test-extend.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-registry-loader-test-extend.html.twig This line is from twig_theme_test/templates/twig-registry-loader-test-extend.html.twig

{% block content %}
This text is in a block.
{% endblock %}
twig-registry-loader-test-extend.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-extend.html.twig This line is from test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-extend.html.twig

{% block content %}
This text is in a block.
{% endblock %}
twig-registry-loader-test-extend.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader/templates/twig-registry-loader-test-extend.html.twig This line is from test_theme_twig_registry_loader/templates/twig-registry-loader-test-extend.html.twig

{% block content %}
This text is in a block.
{% endblock %}
twig-registry-loader-test-include.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-include.html.twig This line is from test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-include.html.twig
twig-registry-loader-test-include.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader/templates/twig-registry-loader-test-include.html.twig This line is from test_theme_twig_registry_loader/templates/twig-registry-loader-test-include.html.twig
twig-registry-loader-test-include.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-registry-loader-test-include.html.twig This line is from twig_theme_test/templates/twig-registry-loader-test-include.html.twig
twig-registry-loader-test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-registry-loader-test.html.twig {% extends "twig-registry-loader-test-extend.html.twig" %}

{% block content %}
{% include "twig-registry-loader-test-include.html.twig" %}
{% endblock %}
twig-theme-test-embed-tag-embedded.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-theme-test-embed-tag-embedded.html.twig This line is from twig_theme_test/templates/twig-theme-test-embed-tag-embedded.html.twig
twig.extension service core/core.services.yml Drupal\Core\Template\TwigExtension
twig.extension.debug service core/core.services.yml Twig\Extension\DebugExtension
twig.extension.varDumper service core/core.services.yml Drupal\Core\Template\DebugExtension
twig.loader.filesystem service core/core.services.yml Drupal\Core\Template\Loader\FilesystemLoader
twig.loader.string service core/core.services.yml Drupal\Core\Template\Loader\StringLoader
twig.loader.theme_registry service core/core.services.yml Drupal\Core\Template\Loader\ThemeRegistryLoader
TwigDebugMarkupTest class core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php Tests for Twig debug markup.
TwigDebugMarkupTest.php file core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php
TwigDebugMarkupTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php The theme to install as the default for testing.
TwigDebugMarkupTest::$modules property core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php Modules to enable.
TwigDebugMarkupTest::testTwigDebugMarkup function core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php Tests debug markup added to Twig template output.
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/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/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 enable.
TwigEnvironmentTest::$modules property core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Modules to enable.
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.

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