You are here

RendererInterface.php in Markdown 8.2

File

src/Plugin/Markdown/CommonMark/RendererInterface.php
View source
<?php

namespace Drupal\markdown\Plugin\Markdown\CommonMark;


/**
 * Interface CommonMarkExtensionInterface.
 */
interface RendererInterface {

  /**
   * Retrieves the AST class used to parse the document for the renderer.
   *
   * @return string
   *   A fully qualified class name or a single element name that will be
   *   prefixed with "League\CommonMark\(Block|Inline)\Element".
   */
  public function rendererClass();

}

Interfaces

Namesort descending Description
RendererInterface Interface CommonMarkExtensionInterface.