public function PreparedTagElement::setProcessor in Extensible BBCode 8.3
Same name and namespace in other branches
- 4.0.x src/PreparedTagElement.php \Drupal\xbbcode\PreparedTagElement::setProcessor()
Assign a processor to this tag element.
Parameters
\Drupal\xbbcode\Parser\Processor\TagProcessorInterface $processor: A tag processor.
Overrides TagElementInterface::setProcessor
File
- src/
PreparedTagElement.php, line 151
Class
- PreparedTagElement
- Adapter for the tag element that marks markup as safe.
Namespace
Drupal\xbbcodeCode
public function setProcessor(TagProcessorInterface $processor) : void {
$this->tag
->setProcessor($processor);
}