abstract public function TagPluginBase::doProcess in Extensible BBCode 4.0.x
Same name and namespace in other branches
- 8.3 src/Plugin/TagPluginBase.php \Drupal\xbbcode\Plugin\TagPluginBase::doProcess()
Create the actual output.
Tag plugins should override this function rather than ::process(), in order to let the metadata from sub-tags bubble up.
Parameters
\Drupal\xbbcode\Parser\Tree\TagElementInterface $tag: Tag element in the parse tree.
Return value
\Drupal\xbbcode\TagProcessResult Tag process result.
1 call to TagPluginBase::doProcess()
- TagPluginBase::process in src/
Plugin/ TagPluginBase.php - Generate output from a tag element.
5 methods override TagPluginBase::doProcess()
- CodeTagPlugin::doProcess in standard/
src/ Plugin/ XBBCode/ CodeTagPlugin.php - Create the actual output.
- NullTagPlugin::doProcess in src/
Plugin/ XBBCode/ NullTagPlugin.php - Create the actual output.
- RenderTagPlugin::doProcess in src/
Plugin/ RenderTagPlugin.php - Create the actual output.
- TemplateTagPlugin::doProcess in src/
Plugin/ TemplateTagPlugin.php - XBBCodeTestPlugin::doProcess in tests/
xbbcode_test_plugin/ src/ Plugin/ XBBCode/ XBBCodeTestPlugin.php - Create the actual output.
File
- src/
Plugin/ TagPluginBase.php, line 190
Class
- TagPluginBase
- Provides a base class for XBBCode tag plugins.
Namespace
Drupal\xbbcode\PluginCode
public abstract function doProcess(TagElementInterface $tag) : TagProcessResult;