interface TagProcessorInterface in Extensible BBCode 8.3
Same name and namespace in other branches
- 4.0.x src/Parser/Processor/TagProcessorInterface.php \Drupal\xbbcode\Parser\Processor\TagProcessorInterface
Encapsulates the processing functionality of a tag plugin.
Hierarchy
- interface \Drupal\xbbcode\Parser\Processor\TagProcessorInterface
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\ProcessorView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TagProcessorInterface:: |
public | function | Process a tag match. | 2 |