class HelpTopicTwigLoader
Same name in this branch
- 10 core/modules/help/src/HelpTopicTwigLoader.php \Drupal\help\HelpTopicTwigLoader
Same name in other branches
- 9 core/modules/help_topics/src/HelpTopicTwigLoader.php \Drupal\help_topics\HelpTopicTwigLoader
- 8.9.x core/modules/help_topics/src/HelpTopicTwigLoader.php \Drupal\help_topics\HelpTopicTwigLoader
- 11.x core/modules/help_topics/src/HelpTopicTwigLoader.php \Drupal\help_topics\HelpTopicTwigLoader
- 11.x core/modules/help/src/HelpTopicTwigLoader.php \Drupal\help\HelpTopicTwigLoader
Loads help topic Twig files from the filesystem.
This loader adds module and theme help topic paths to a help_topics namespace to the Twig filesystem loader so that help_topics can be referenced, using '@help-topic/pluginId.html.twig'.
@internal Help Topics is currently experimental and should only be leveraged by experimental modules and development releases of contributed modules. See https://www.drupal.org/core/experimental for more information.
Hierarchy
- class \Drupal\help\HelpTopicTwigLoader extends \Twig\Loader\FilesystemLoader
- class \Drupal\help_topics\HelpTopicTwigLoader extends \Drupal\help\HelpTopicTwigLoader
Expanded class hierarchy of HelpTopicTwigLoader
See also
\Drupal\help_topics\HelpTopicDiscovery
\Drupal\help_topics\HelpTopicTwig
File
-
core/
modules/ help_topics/ src/ HelpTopicTwigLoader.php, line 22
Namespace
Drupal\help_topicsView source
class HelpTopicTwigLoader extends CoreHelpTopicTwigLoader {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.