Interface

eZ\Publish\Core\FieldType\RichText\RendererInterface

interface RendererInterface

RichText field type renderer interface, to be implemented in MVC layer.

Methods

string renderTag(string $name, array $parameters, bool $isInline)

Renders template tag.

string renderContentEmbed(int|string $contentId, string $viewType, array $parameters, bool $isInline)

Renders Content embed.

string renderLocationEmbed(int|string $locationId, string $viewType, array $parameters, bool $isInline)

Renders Location embed.

Details

at line 25
public string renderTag(string $name, array $parameters, bool $isInline)

Renders template tag.

Parameters

string $name
array $parameters
bool $isInline

Return Value

string

at line 37
public string renderContentEmbed(int|string $contentId, string $viewType, array $parameters, bool $isInline)

Renders Content embed.

Parameters

int|string $contentId
string $viewType
array $parameters
bool $isInline

Return Value

string

at line 49
public string renderLocationEmbed(int|string $locationId, string $viewType, array $parameters, bool $isInline)

Renders Location embed.

Parameters

int|string $locationId
string $viewType
array $parameters
bool $isInline

Return Value

string