Copied!

RendererInterface

RendererInterface.php : 14

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

Methods

publicrenderContentEmbed()

RendererInterface.php : 38

Renders Content embed.

public renderContentEmbed(int|string $contentId, string $viewType, array<string|int, mixed> $parameters, bool $isInline) : string

Parameters

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

Return values

string

publicrenderLocationEmbed()

RendererInterface.php : 50

Renders Location embed.

public renderLocationEmbed(int|string $locationId, string $viewType, array<string|int, mixed> $parameters, bool $isInline) : string

Parameters

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

Return values

string

publicrenderTemplate()

RendererInterface.php : 26

Renders template.

public renderTemplate(string $name, string $type, array<string|int, mixed> $parameters, bool $isInline) : string

Parameters

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

Return values

string