BeforeDatabaseRecordLinkResolvedEvent implements StoppableEventInterface

FinalYes

Event dispatched before the DatabaseRecordLinkBuilder resolves a database record.

This event is stoppable: If an event listener sets a record, the event propagation will be stopped and the default record retrieval logic will be skipped.

Table of Contents

Interfaces

StoppableEventInterface

Properties

$databaseTable  : string
$linkDetails  : array<string|int, mixed>
$record  : array<string|int, mixed>|null
$request  : ServerRequestInterface
$tsConfig  : array<string|int, mixed>
$typoscriptConfiguration  : array<string|int, mixed>

Methods

__construct()  : mixed
isPropagationStopped()  : bool

Properties

$databaseTable read-only

public string $databaseTable

$linkDetails read-only

public array<string|int, mixed> $linkDetails

$record

public array<string|int, mixed>|null $record = null

$request read-only

public ServerRequestInterface $request

$tsConfig read-only

public array<string|int, mixed> $tsConfig

$typoscriptConfiguration read-only

public array<string|int, mixed> $typoscriptConfiguration

Methods

__construct()

public __construct(array<string|int, mixed> $linkDetails, string $databaseTable, array<string|int, mixed> $typoscriptConfiguration, array<string|int, mixed> $tsConfig, ServerRequestInterface $request[, array<string|int, mixed>|null $record = null ]) : mixed
Parameters
$linkDetails : array<string|int, mixed>
$databaseTable : string
$typoscriptConfiguration : array<string|int, mixed>
$tsConfig : array<string|int, mixed>
$request : ServerRequestInterface
$record : array<string|int, mixed>|null = null

isPropagationStopped()

public isPropagationStopped() : bool
Return values
bool

        
On this page

Search results