You are here

public function TagPluginInterface::process in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/Plugin/TagPluginInterface.php \Drupal\xbbcode\Plugin\TagPluginInterface::process()

Generate output from a tag element.

@TODO: Add covariant type hints after PHP 7.4 is required.

Parameters

\Drupal\xbbcode\Parser\Tree\TagElementInterface $tag: The tag element to process.

Return value

\Drupal\xbbcode\Parser\Tree\OutputElementInterface Actually a TagProcessResult, but PHP does not support covariant types.

Overrides TagProcessorInterface::process

See also

\Drupal\xbbcode\TagProcessResult

1 method overrides TagPluginInterface::process()
TagPluginBase::process in src/Plugin/TagPluginBase.php
Generate output from a tag element.

File

src/Plugin/TagPluginInterface.php, line 92

Class

TagPluginInterface
Defines the interface for XBBCode tag plugins.

Namespace

Drupal\xbbcode\Plugin

Code

public function process(TagElementInterface $tag) : OutputElementInterface;