You are here

abstract public function TagProcessorBase::doProcess in Extensible BBCode 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Parser/Processor/TagProcessorBase.php \Drupal\xbbcode\Parser\Processor\TagProcessorBase::doProcess()

Override this function to return any printable value.

Parameters

\Drupal\xbbcode\Parser\Tree\TagElementInterface $tag: Tag element in the parse tree.

Return value

mixed Any value that can be cast to string.

1 call to TagProcessorBase::doProcess()
TagProcessorBase::process in src/Parser/Processor/TagProcessorBase.php
Process a tag match.
1 method overrides TagProcessorBase::doProcess()
CallbackTagProcessor::doProcess in src/Parser/Processor/CallbackTagProcessor.php
Override this function to return any printable value.

File

src/Parser/Processor/TagProcessorBase.php, line 36

Class

TagProcessorBase
Base tag processor for wrapping the output.

Namespace

Drupal\xbbcode\Parser\Processor

Code

public abstract function doProcess(TagElementInterface $tag);