You are here

function _drush_markdown_commands in Markdown 8.2

Retrieves the class used to proxy these legacy Drush commands into.

Return value

\Drupal\markdown\Commands\MarkdownCommands

Related topics

File

./markdown.drush.inc, line 37
Drush commands for Drupal Markdown.

Code

function _drush_markdown_commands() {
  static $markdownCommands;
  if (!isset($markdownCommands)) {
    $markdownCommands = MarkdownCommands::create();
  }
  return $markdownCommands;
}