You are here

interface ElementInterface in Extensible BBCode 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Parser/Tree/ElementInterface.php \Drupal\xbbcode\Parser\Tree\ElementInterface

An element in the parser tree.

Hierarchy

Expanded class hierarchy of ElementInterface

All classes that implement ElementInterface

2 files declare their use of ElementInterface
PreparedTagElement.php in src/PreparedTagElement.php
XBBCodeFilter.php in src/Plugin/Filter/XBBCodeFilter.php

File

src/Parser/Tree/ElementInterface.php, line 8

Namespace

Drupal\xbbcode\Parser\Tree
View source
interface ElementInterface {

  /**
   * Render this element to a string.
   *
   * @return string|\Drupal\xbbcode\Parser\Tree\OutputElementInterface
   *   The rendered output.
   */
  public function render();

}

Members

Namesort descending Modifiers Type Description Overrides
ElementInterface::render public function Render this element to a string. 4