Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search 11.x for %s
  6. Other projects
Title Object type File name Summary
HelpTopicTwig::getCacheContexts function core/modules/help/src/HelpTopicTwig.php The cache contexts associated with this object.
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::addExtension function core/modules/help/src/HelpTopicTwigLoader.php Adds an extensions help_topics directory to the Twig loader.
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 class core/modules/help/src/HelpTwigExtension.php Defines and registers Drupal Twig extensions for rendering help topics.
HelpTwigExtension.php file core/modules/help/src/HelpTwigExtension.php
HelpTwigExtension::getFunctions function core/modules/help/src/HelpTwigExtension.php
HelpTwigExtension::getRouteLink function core/modules/help/src/HelpTwigExtension.php Returns a link or plain text, given text, route name, and parameters.
HelpTwigExtension::getTopicLink function core/modules/help/src/HelpTwigExtension.php Returns a link to a help topic, or the title of the topic.
HelpTwigExtension::__construct function core/modules/help/src/HelpTwigExtension.php Constructs a \Drupal\help\HelpTwigExtension.
help_page_test.info.yml file core/modules/help/tests/modules/help_page_test/help_page_test.info.yml core/modules/help/tests/modules/help_page_test/help_page_test.info.yml
help_page_test.routing.yml file core/modules/help/tests/modules/help_page_test/help_page_test.routing.yml core/modules/help/tests/modules/help_page_test/help_page_test.routing.yml
help_post_update_search_help_dependencies function core/modules/help/help.post_update.php Update config entity dependencies to the Search Help module, if necessary.
help_removed_post_updates function core/modules/help/help.post_update.php Implements hook_removed_post_updates().
help_test.info.yml file core/modules/help/tests/modules/help_test/help_test.info.yml core/modules/help/tests/modules/help_test/help_test.info.yml
help_test_twig.extension service core/modules/help/tests/modules/help_topics_twig_tester/help_topics_twig_tester.services.yml Drupal\help_topics_twig_tester\HelpTestTwigExtension
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
help_twig.extension service core/modules/help/help.services.yml Drupal\help\HelpTwigExtension

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