You are here

public function TagElementInterface::setProcessor in Extensible BBCode 4.0.x

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

Assign a processor to this tag element.

Parameters

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

2 methods override TagElementInterface::setProcessor()
PreparedTagElement::setProcessor in src/PreparedTagElement.php
Assign a processor to this tag element.
TagElement::setProcessor in src/Parser/Tree/TagElement.php
Assign a processor to this tag element.

File

src/Parser/Tree/TagElementInterface.php, line 182

Class

TagElementInterface
A tag occurrence as processed by tag plugins.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function setProcessor(TagProcessorInterface $processor) : void;