Search for to

  1. Search 7.x for to
  2. Search 8.9.x for to
  3. Search 10.3.x for to
  4. Search 11.x for to
  5. Other projects
Title Object type File name Summary
HelpTopicTwig.php file core/modules/help_topics/src/HelpTopicTwig.php
HelpTopicTwig::$twig property core/modules/help_topics/src/HelpTopicTwig.php The Twig environment.
HelpTopicTwig::create function core/modules/help_topics/src/HelpTopicTwig.php Creates an instance of the plugin.
HelpTopicTwig::getBody function core/modules/help_topics/src/HelpTopicTwig.php Returns the body of the topic.
HelpTopicTwig::getCacheContexts function core/modules/help_topics/src/HelpTopicTwig.php The cache contexts associated with this object.
HelpTopicTwig::getCacheMaxAge function core/modules/help_topics/src/HelpTopicTwig.php The maximum age for which this object may be cached.
HelpTopicTwig::getCacheTags function core/modules/help_topics/src/HelpTopicTwig.php The cache tags associated with this object.
HelpTopicTwig::__construct function core/modules/help_topics/src/HelpTopicTwig.php HelpTopicPluginBase constructor.
HelpTopicTwigLoader class core/modules/help_topics/src/HelpTopicTwigLoader.php Loads help topic Twig files from the filesystem.
HelpTopicTwigLoader.php file core/modules/help_topics/src/HelpTopicTwigLoader.php
HelpTopicTwigLoader::addExtension function core/modules/help_topics/src/HelpTopicTwigLoader.php Adds an extensions help_topics directory to the Twig loader.
HelpTopicTwigLoader::findTemplate function core/modules/help_topics/src/HelpTopicTwigLoader.php
HelpTopicTwigLoader::getSourceContext function core/modules/help_topics/src/HelpTopicTwigLoader.php
HelpTopicTwigLoader::MAIN_NAMESPACE constant core/modules/help_topics/src/HelpTopicTwigLoader.php
HelpTopicTwigLoader::__construct function core/modules/help_topics/src/HelpTopicTwigLoader.php Constructs a new HelpTopicTwigLoader object.
HelpTopicTwigLoaderTest class core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php Unit test for the HelpTopicTwigLoader class.
HelpTopicTwigLoaderTest.php file core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php
HelpTopicTwigLoaderTest::$directories property core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php The virtual directories to use in testing.
HelpTopicTwigLoaderTest::$helpLoader property core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php The help topic loader instance to test.
HelpTopicTwigLoaderTest::getHandlerMock function core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php Creates a mock module or theme handler class for the test.
HelpTopicTwigLoaderTest::setUp function core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php
HelpTopicTwigLoaderTest::setUpVfs function core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php Sets up the virtual file system.
HelpTopicTwigLoaderTest::testConstructor function core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php @covers ::__construct[[api-linebreak]]
HelpTopicTwigLoaderTest::testGetSourceContext function core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php @covers ::getSourceContext[[api-linebreak]]
HelpTopicTwigLoaderTest::testGetSourceContextException function core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php @covers ::getSourceContext[[api-linebreak]]
HelpTopicTwigTest class core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php Unit test for the HelpTopicTwig class.
HelpTopicTwigTest.php file core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php
HelpTopicTwigTest::$helpTopic property core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php The help topic instance to test.
HelpTopicTwigTest::getTwigMock function core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php Creates a mock Twig loader class for the test.
HelpTopicTwigTest::PLUGIN_INFORMATION constant core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php The plugin information to use for setting up a test topic.
HelpTopicTwigTest::setUp function core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php
HelpTopicTwigTest::testCacheInfo function core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php @covers ::getCacheContexts[[api-linebreak]]
@covers ::getCacheTags[[api-linebreak]]
@covers ::getCacheMaxAge[[api-linebreak]]
HelpTopicTwigTest::testDefinition function core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php @covers ::getProvider[[api-linebreak]]
@covers ::isTopLevel[[api-linebreak]]
@covers ::getRelated[[api-linebreak]]
HelpTopicTwigTest::testText function core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php @covers ::getBody[[api-linebreak]]
@covers ::getLabel[[api-linebreak]]
HelpTwigExtension::getTopicLink function core/modules/help_topics/src/HelpTwigExtension.php Returns a link to a help topic, or the title of the topic.
help_topics.api.php file core/modules/help_topics/help_topics.api.php Hooks provided by the Help Topics module.
help_topics.info.yml file core/modules/help_topics/help_topics.info.yml core/modules/help_topics/help_topics.info.yml
help_topics.install file core/modules/help_topics/help_topics.install Install and uninstall functions for help_topics module.
help_topics.module file core/modules/help_topics/help_topics.module Displays help topics provided by modules and themes.
help_topics.routing.yml file core/modules/help_topics/help_topics.routing.yml core/modules/help_topics/help_topics.routing.yml
help_topics.schema.yml file core/modules/help_topics/config/schema/help_topics.schema.yml core/modules/help_topics/config/schema/help_topics.schema.yml
help_topics.services.yml file core/modules/help_topics/help_topics.services.yml core/modules/help_topics/help_topics.services.yml
help_topics_help function core/modules/help_topics/help_topics.module Implements hook_help().
help_topics_modules_installed function core/modules/help_topics/help_topics.module Implements hook_modules_installed().
help_topics_modules_uninstalled function core/modules/help_topics/help_topics.module Implements hook_modules_uninstalled().
help_topics_schema function core/modules/help_topics/help_topics.install Implements hook_schema().
help_topics_test.additional.html.twig file core/modules/help_topics/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_topics/tests/modules/help_topics_test/help_topics_test.help_topics.yml core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.help_topics.yml
help_topics_test.info.yml file core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.info.yml core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.info.yml
help_topics_test.linked.html.twig file core/modules/help_topics/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>

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