function HelpTopicSection::__construct
Constructs a HelpTopicSection object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\help\HelpTopicPluginManagerInterface $pluginManager: The help topic plugin manager service.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
\Drupal\Core\Language\LanguageDefault $defaultLanguage: The default language object.
\Drupal\Core\Language\LanguageManagerInterface $languageManager: The language manager.
\Drupal\Core\StringTranslation\TranslationManager $translationManager: The translation manager. We are using a method that doesn't exist on an interface, so require this class.
File
-
core/
modules/ help/ src/ Plugin/ HelpSection/ HelpTopicSection.php, line 69
Class
- HelpTopicSection
- Provides the help topics list section for the help page.
Namespace
Drupal\help\Plugin\HelpSectionCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, HelpTopicPluginManagerInterface $pluginManager, RendererInterface $renderer, LanguageDefault $defaultLanguage, LanguageManagerInterface $languageManager, TranslationManager $translationManager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
}