You are here

public function TagElement::setProcessor in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/Parser/Tree/TagElement.php \Drupal\xbbcode\Parser\Tree\TagElement::setProcessor()

Assign a processor to this tag element.

Parameters

\Drupal\xbbcode\Parser\Processor\TagProcessorInterface $processor: A tag processor.

Overrides TagElementInterface::setProcessor

File

src/Parser/Tree/TagElement.php, line 208

Class

TagElement
A BBCode tag element.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function setProcessor(TagProcessorInterface $processor) : void {
  $this->processor = $processor;
}