Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
TrustedHostsTest::testRequestBags function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests that the request bags have the correct classes.
TrustedHostsTest::testShortcut function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests that shortcut module works together with host verification.
TrustedHostsTest::testStatusPageWithConfiguration function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests that the status page shows the trusted patterns from settings.php.
TrustedHostsTest::testStatusPageWithoutConfiguration function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests the status page behavior with no setting.
TrustedHostsTestController class core/modules/system/tests/modules/trusted_hosts_test/src/Controller/TrustedHostsTestController.php Provides a test controller for testing the trusted hosts setting.
TrustedHostsTestController.php file core/modules/system/tests/modules/trusted_hosts_test/src/Controller/TrustedHostsTestController.php
TrustedHostsTestController::bagType function core/modules/system/tests/modules/trusted_hosts_test/src/Controller/TrustedHostsTestController.php Creates a fake request and prints out the class name of the specified bag.
TrustedHostsTestController::fakeRequestHost function core/modules/system/tests/modules/trusted_hosts_test/src/Controller/TrustedHostsTestController.php Creates a fake request and prints out its host.
TrustedInterface interface core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
TrustedMethods class core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
TrustedMethods::callback function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
TrustedMethods::trustedCallbacks function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Lists the trusted callbacks provided by the implementing class.
TrustedMethods::unTrustedCallback function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
TrustedObject class core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
TrustedObject::callback function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
TrustedRedirectResponse class core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php Provides a redirect response which contains trusted URLs.
TrustedRedirectResponse.php file core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php
TrustedRedirectResponse::$trustedUrls property core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php A list of trusted URLs, which are safe to redirect to.
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 service core/core.services.yml Drupal\Core\Template\TwigEnvironment
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/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-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-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.engine file core/themes/engines/twig/twig.engine Handles integration of Twig templates with the Drupal theme system.
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.info.yml file core/themes/engines/twig/twig.info.yml core/themes/engines/twig/twig.info.yml
twig.loader service core/core.services.yml Twig\Loader\ChainLoader
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

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