You are here

abstract public function RenderTagPlugin::buildElement in Extensible BBCode 8.3

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

Build a render array from the tag.

Parameters

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

Return value

array The render array.

1 call to RenderTagPlugin::buildElement()
RenderTagPlugin::doProcess in src/Plugin/RenderTagPlugin.php
Create the actual output.
3 methods override RenderTagPlugin::buildElement()
ImageTagPlugin::buildElement in standard/src/Plugin/XBBCode/ImageTagPlugin.php
Build a render array from the tag.
ListTagPlugin::buildElement in standard/src/Plugin/XBBCode/ListTagPlugin.php
Build a render array from the tag.
TableTagPlugin::buildElement in standard/src/Plugin/XBBCode/TableTagPlugin.php
Build a render array from the tag.

File

src/Plugin/RenderTagPlugin.php, line 93

Class

RenderTagPlugin
Base class for plugins that produce a Drupal render array.

Namespace

Drupal\xbbcode\Plugin

Code

public abstract function buildElement(TagElementInterface $tag) : array;