DisallowedRawHtmlBlockRenderer
in package
implements
BlockRendererInterface, ConfigurationAwareInterface
Interfaces, Classes and Traits
- BlockRendererInterface
- ConfigurationAwareInterface
- Implement this class to inject the configuration where needed
Table of Contents
- $htmlBlockRenderer : BlockRendererInterface
- __construct() : mixed
- render() : HtmlElement|string|null
- setConfiguration() : void
Properties
$htmlBlockRenderer
private
BlockRendererInterface
$htmlBlockRenderer
Methods
__construct()
public
__construct(BlockRendererInterface $htmlBlockRenderer) : mixed
Parameters
- $htmlBlockRenderer : BlockRendererInterface
Return values
mixed —render()
public
render(AbstractBlock $block, ElementRendererInterface $htmlRenderer[, bool $inTightList = false ]) : HtmlElement|string|null
Parameters
- $block : AbstractBlock
- $htmlRenderer : ElementRendererInterface
- $inTightList : bool = false
Return values
HtmlElement|string|null —setConfiguration()
public
setConfiguration(ConfigurationInterface $configuration) : void
Parameters
- $configuration : ConfigurationInterface