public function ReadmeHelpMarkdownConverter::__construct in README Help 8
Constructs a new ReadmeHelpMarkdownConverter object.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Routing\RequestContext $request_context: The request context.
\Drupal\Component\Plugin\PluginManagerInterface $filter_manager: The filter manager.
string $app_root: The app root.
File
- src/
ReadmeHelpMarkdownConverter.php, line 95
Class
- ReadmeHelpMarkdownConverter
- Default implementation of the ReadmeHelpMarkdownConverter.
Namespace
Drupal\readmehelpCode
public function __construct(ModuleHandlerInterface $module_handler, RequestContext $request_context, PluginManagerInterface $filter_manager, $app_root) {
$this->moduleHandler = $module_handler;
$this->requestContext = $request_context;
$this->filterManager = $filter_manager;
$this->root = $app_root;
}