You are here

interface TagProcessorInterface in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/Parser/Processor/TagProcessorInterface.php \Drupal\xbbcode\Parser\Processor\TagProcessorInterface

Encapsulates the processing functionality of a tag plugin.

Hierarchy

Expanded class hierarchy of TagProcessorInterface

All classes that implement TagProcessorInterface

4 files declare their use of TagProcessorInterface
PreparedTagElement.php in src/PreparedTagElement.php
TagElement.php in src/Parser/Tree/TagElement.php
TagElementInterface.php in src/Parser/Tree/TagElementInterface.php
TagPluginInterface.php in src/Plugin/TagPluginInterface.php

File

src/Parser/Processor/TagProcessorInterface.php, line 11

Namespace

Drupal\xbbcode\Parser\Processor
View source
interface TagProcessorInterface {

  /**
   * Process a tag match.
   *
   * @param \Drupal\xbbcode\Parser\Tree\TagElementInterface $tag
   *   The tag to be rendered.
   *
   * @return \Drupal\xbbcode\Parser\Tree\OutputElementInterface
   *   The rendered output.
   */
  public function process(TagElementInterface $tag) : OutputElementInterface;

}

Members

Namesort descending Modifiers Type Description Overrides
TagProcessorInterface::process public function Process a tag match. 2