You are here

public function PreparedTagElement::getProcessor in Extensible BBCode 4.0.x

Same name and namespace in other branches
  1. 8.3 src/PreparedTagElement.php \Drupal\xbbcode\PreparedTagElement::getProcessor()

Get the assigned processor.

Return value

\Drupal\xbbcode\Parser\Processor\TagProcessorInterface Tag processor.

Overrides TagElementInterface::getProcessor

File

src/PreparedTagElement.php, line 164

Class

PreparedTagElement
Adapter for the tag element that marks markup as safe.

Namespace

Drupal\xbbcode

Code

public function getProcessor() : TagProcessorInterface {
  return $this->tag
    ->getProcessor();
}