public function SettingsForm::__construct in Markdown 8.2
MarkdownSettingsForm constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The Config Factory service.
\Drupal\Core\Config\TypedConfigManagerInterface $typedConfigManager: The Typed Config Manager service.
\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cacheTagsInvalidator: The Cache Tags Invalidator service.
\Drupal\Core\Render\ElementInfoManagerInterface $elementInfo: The Element Info Plugin Manager service.
\Drupal\markdown\MarkdownInterface $markdown: The Markdown service.
\Drupal\markdown\PluginManager\ParserManagerInterface $parserManager: The Markdown Parser Plugin Manager service.
\Drupal\markdown\Config\MarkdownConfig $settings: The markdown settings config.
Overrides ParserConfigurationForm::__construct
File
- src/
Form/ SettingsForm.php, line 50
Class
- SettingsForm
- Markdown Settings Form.
Namespace
Drupal\markdown\FormCode
public function __construct(ConfigFactoryInterface $configFactory, TypedConfigManagerInterface $typedConfigManager, CacheTagsInvalidatorInterface $cacheTagsInvalidator, ElementInfoManagerInterface $elementInfo, MarkdownInterface $markdown, ParserManagerInterface $parserManager, MarkdownConfig $settings) {
parent::__construct($configFactory, $typedConfigManager, $cacheTagsInvalidator, $elementInfo, $parserManager);
$this->markdown = $markdown;
$this->settings = $settings;
}