You are here

public function MarkdownParamConverter::__construct in Markdown 8.2

MarkdownParamConverter constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The Config Factory service.

\Drupal\markdown\PluginManager\ParserManagerInterface $parserManager: The Markdown Parser Plugin Manager service.

\Drupal\markdown\PluginManager\ExtensionManagerInterface $extensionManager: The Markdown Extension Plugin Manager service.

\Drupal\markdown\PluginManager\AllowedHtmlManager $allowedHtmlManager: The Markdown Allowed HTML Plugin Manager service.

File

src/ParamConverter/MarkdownParamConverter.php, line 60

Class

MarkdownParamConverter
Parameter convertor for Markdown plugins.

Namespace

Drupal\markdown\ParamConverter

Code

public function __construct(ConfigFactoryInterface $configFactory, ParserManagerInterface $parserManager, ExtensionManagerInterface $extensionManager, AllowedHtmlManager $allowedHtmlManager) {
  $this->configFactory = $configFactory;
  $this->parserManager = $parserManager;
  $this->extensionManager = $extensionManager;
  $this->allowedHtmlManager = $allowedHtmlManager;
}