You are here

protected function ParserOperationForm::getParserConfig in Markdown 8.2

Retrieves an editable Config object for the parser.

Return value

\Drupal\Core\Config\Config The Parser Config object.

File

src/Form/ParserOperationForm.php, line 238

Class

ParserOperationForm
Provides a confirmation form to disable a parser.

Namespace

Drupal\markdown\Form

Code

protected function getParserConfig() {
  return $this
    ->configFactory()
    ->getEditable('markdown.parser.' . $this->parser
    ->getPluginId());
}