HelpTopicTwigLoader.php

Same filename in this branch
  1. 11.x core/modules/help/src/HelpTopicTwigLoader.php
Same filename in other branches
  1. 9 core/modules/help_topics/src/HelpTopicTwigLoader.php
  2. 8.9.x core/modules/help_topics/src/HelpTopicTwigLoader.php
  3. 10 core/modules/help_topics/src/HelpTopicTwigLoader.php
  4. 10 core/modules/help/src/HelpTopicTwigLoader.php

Namespace

Drupal\help_topics

File

core/modules/help_topics/src/HelpTopicTwigLoader.php

View source
<?php

namespace Drupal\help_topics;

use Drupal\help\HelpTopicTwigLoader as CoreHelpTopicTwigLoader;

/**
 * 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'.
 *
 * @see \Drupal\help_topics\HelpTopicDiscovery
 * @see \Drupal\help_topics\HelpTopicTwig
 *
 * @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.
 */
class HelpTopicTwigLoader extends CoreHelpTopicTwigLoader {

}

Classes

Title Deprecated Summary
HelpTopicTwigLoader Loads help topic Twig files from the filesystem.

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