Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Search 11.x for to
  6. Other projects
Title Object type File name Summary
HelpTopicTranslationTest::setUp function core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php
HelpTopicTranslationTest::testHelpTopicTranslations function core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php Tests help topic translations.
HelpTopicTwig class core/modules/help/src/HelpTopicTwig.php Represents a help topic plugin whose definition comes from a Twig file.
HelpTopicTwig.php file core/modules/help/src/HelpTopicTwig.php
HelpTopicTwig::getBody function core/modules/help/src/HelpTopicTwig.php Returns the body of the topic.
HelpTopicTwig::getCacheContexts function core/modules/help/src/HelpTopicTwig.php The cache contexts associated with this object.
HelpTopicTwig::getCacheMaxAge function core/modules/help/src/HelpTopicTwig.php The maximum age for which this object may be cached.
HelpTopicTwig::getCacheTags function core/modules/help/src/HelpTopicTwig.php The cache tags associated with this object.
HelpTopicTwig::__construct function core/modules/help/src/HelpTopicTwig.php HelpTopicPluginBase constructor.
HelpTopicTwigLoader class core/modules/help/src/HelpTopicTwigLoader.php Loads help topic Twig files from the filesystem.
HelpTopicTwigLoader.php file core/modules/help/src/HelpTopicTwigLoader.php
HelpTopicTwigLoader::addExtension function core/modules/help/src/HelpTopicTwigLoader.php Adds an extensions help_topics directory to the Twig loader.
HelpTopicTwigLoader::findTemplate function core/modules/help/src/HelpTopicTwigLoader.php
HelpTopicTwigLoader::getSourceContext function core/modules/help/src/HelpTopicTwigLoader.php
HelpTopicTwigLoader::MAIN_NAMESPACE constant core/modules/help/src/HelpTopicTwigLoader.php
HelpTopicTwigLoader::__construct function core/modules/help/src/HelpTopicTwigLoader.php Constructs a new HelpTopicTwigLoader object.
HelpTopicTwigLoaderTest class core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php Unit test for the HelpTopicTwigLoader class.
HelpTopicTwigLoaderTest.php file core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php
HelpTopicTwigLoaderTest::$directories property core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php The virtual directories to use in testing.
HelpTopicTwigLoaderTest::$helpLoader property core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php The help topic loader instance to test.
HelpTopicTwigLoaderTest::setUp function core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php
HelpTopicTwigLoaderTest::setUpVfs function core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php Sets up the virtual file system.
HelpTopicTwigLoaderTest::testConstructor function core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php Tests constructor.
HelpTopicTwigLoaderTest::testGetSourceContext function core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php Tests get source context.
HelpTopicTwigLoaderTest::testGetSourceContextException function core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php Tests get source context exception.
HelpTopicTwigTest class core/modules/help/tests/src/Unit/HelpTopicTwigTest.php Unit test for the HelpTopicTwig class.
HelpTopicTwigTest.php file core/modules/help/tests/src/Unit/HelpTopicTwigTest.php
HelpTopicTwigTest::$helpTopic property core/modules/help/tests/src/Unit/HelpTopicTwigTest.php The help topic instance to test.
HelpTopicTwigTest::getTwigMock function core/modules/help/tests/src/Unit/HelpTopicTwigTest.php Creates a mock Twig loader class for the test.
HelpTopicTwigTest::PLUGIN_INFORMATION constant core/modules/help/tests/src/Unit/HelpTopicTwigTest.php The plugin information to use for setting up a test topic.
HelpTopicTwigTest::setUp function core/modules/help/tests/src/Unit/HelpTopicTwigTest.php
HelpTopicTwigTest::testCacheInfo function core/modules/help/tests/src/Unit/HelpTopicTwigTest.php Tests cache info.
HelpTopicTwigTest::testDefinition function core/modules/help/tests/src/Unit/HelpTopicTwigTest.php Tests definition.
HelpTopicTwigTest::testText function core/modules/help/tests/src/Unit/HelpTopicTwigTest.php Tests text.
HelpTwigExtension::getTopicLink function core/modules/help/src/HelpTwigExtension.php Returns a link to a help topic, or the title of the topic.
help_topics_test.additional.html.twig file core/modules/help/tests/modules/help_topics_test/help_topics/help_topics_test.additional.html.twig ---
label: 'Additional topic'
related:
- help_topics_test.test
---
<p>{% trans %}This topic should get listed automatically on the Help test topic.{% endtrans %}</p>
help_topics_test.help_topics.yml file core/modules/help/tests/modules/help_topics_test/help_topics_test.help_topics.yml core/modules/help/tests/modules/help_topics_test/help_topics_test.help_topics.yml
help_topics_test.info.yml file core/modules/help/tests/modules/help_topics_test/help_topics_test.info.yml core/modules/help/tests/modules/help_topics_test/help_topics_test.info.yml
help_topics_test.linked.html.twig file core/modules/help/tests/modules/help_topics_test/help_topics/help_topics_test.linked.html.twig ---
label: 'Linked topic'
---
<p>{% trans %}This topic is not supposed to be top-level.{% endtrans %}</p>
help_topics_test.permissions.yml file core/modules/help/tests/modules/help_topics_test/help_topics_test.permissions.yml core/modules/help/tests/modules/help_topics_test/help_topics_test.permissions.yml
help_topics_test.routing.yml file core/modules/help/tests/modules/help_topics_test/help_topics_test.routing.yml core/modules/help/tests/modules/help_topics_test/help_topics_test.routing.yml
help_topics_test.test.html.twig file core/modules/help/tests/modules/help_topics_test/help_topics/help_topics_test.test.html.twig ---
label: "ABC Help Test module"
top_level: true
related:
- help_topics_test.linked
- does_not_exist.and_no_error
---
{% set help_topic_link = render_var(help_topic_link('help_topics_test.test_urls')) %}
<p>{% trans…
help_topics_test.test_urls.html.twig file core/modules/help/tests/modules/help_topics_test/help_topics/help_topics_test.test_urls.html.twig ---
label: 'URL test topic'
top_level: true
---
{% set non_route_link = render_var(help_route_link('not a route', 'not_a_real_route')) %}
{% set missing_params_link = render_var(help_route_link('missing params',…
help_topics_test_theme.info.yml file core/modules/help/tests/themes/help_topics_test_theme/help_topics_test_theme.info.yml core/modules/help/tests/themes/help_topics_test_theme/help_topics_test_theme.info.yml
help_topics_test_theme.test.html.twig file core/modules/help/tests/themes/help_topics_test_theme/help_topics/help_topics_test_theme.test.html.twig ---
label: 'XYZ Help Test theme'
top_level: true
related:
- help_topics_test.additional
---
<p>{% trans %}This is a theme provided topic.{% endtrans %}</p>
help_topics_twig_tester.info.yml file core/modules/help/tests/modules/help_topics_twig_tester/help_topics_twig_tester.info.yml core/modules/help/tests/modules/help_topics_twig_tester/help_topics_twig_tester.info.yml
help_topics_twig_tester.services.yml file core/modules/help/tests/modules/help_topics_twig_tester/help_topics_twig_tester.services.yml core/modules/help/tests/modules/help_topics_twig_tester/help_topics_twig_tester.services.yml
HexToHslTrait trait core/themes/olivero/src/HexToHslTrait.php Trait to convert Hex to HSL.
HexToHslTrait.php file core/themes/olivero/src/HexToHslTrait.php
HexToHslTrait::convertHexToHsl function core/themes/olivero/src/HexToHslTrait.php Converts hex color strings to array of HSL values.

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