You are here

public function XBBCodeParser::__construct in Extensible BBCode 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Parser/XBBCodeParser.php \Drupal\xbbcode\Parser\XBBCodeParser::__construct()

XBBCodeParser constructor.

Parameters

mixed $processors: The plugins for rendering.

File

src/Parser/XBBCodeParser.php, line 30

Class

XBBCodeParser
The standard XBBCode parser.

Namespace

Drupal\xbbcode\Parser

Code

public function __construct($processors = NULL) {
  $this->processors = $processors;
}