Copied!

RendererInterface

RendererInterface.php : 14
Interface

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

Methods

publicrenderContentEmbed()

RendererInterface.php : 29
public renderContentEmbed(int $contentId, string $viewType, array<string|int, mixed> $parameters, bool $isInline) : string|null

Parameters

Name Type Default value Description
$contentId int - -
$viewType string - -
$parameters array<string|int, mixed> - -
$isInline bool - -

Return values

string|null

publicrenderLocationEmbed()

RendererInterface.php : 39
public renderLocationEmbed(int $locationId, string $viewType, array<string|int, mixed> $parameters, bool $isInline) : string|null

Parameters

Name Type Default value Description
$locationId int - -
$viewType string - -
$parameters array<string|int, mixed> - -
$isInline bool - -

Return values

string|null

publicrenderTemplate()

RendererInterface.php : 19
public renderTemplate(string $name, string $type, array<string|int, mixed> $parameters, bool $isInline) : string|null

Parameters

Name Type Default value Description
$name string - -
$type string - -
$parameters array<string|int, mixed> - -
$isInline bool - -

Return values

string|null