public function TagElementInterface::setProcessor in Extensible BBCode 4.0.x
Same name and namespace in other branches
- 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\TreeCode
public function setProcessor(TagProcessorInterface $processor) : void;