InlineElementHookInterface

Interface for classes which hook into inline element handling

Deprecated

not in use anymore since TYPO3 v12, will be removed in TYPO3 13. Only stays to allow extensions to be compatible with TYPO3 v11+v12

Table of Contents

Methods

renderForeignRecordHeaderControl_postProcess()  : mixed
Post-processing to define which control items to show. Possibly own icons can be added here.
renderForeignRecordHeaderControl_preProcess()  : mixed
Pre-processing to define which control items are enabled or disabled.

Methods

renderForeignRecordHeaderControl_postProcess()

Post-processing to define which control items to show. Possibly own icons can be added here.

public renderForeignRecordHeaderControl_postProcess(string $parentUid, string $foreignTable, array<string|int, mixed> $childRecord, array<string|int, mixed> $childConfig, bool $isVirtual, array<string|int, mixed> &$controlItems) : mixed
Parameters
$parentUid : string

The uid of the parent (embedding) record (uid or NEW...)

$foreignTable : string

The table (foreign_table) we create control-icons for

$childRecord : array<string|int, mixed>

The current record of that foreign_table

$childConfig : array<string|int, mixed>

TCA configuration of the current field of the child record

$isVirtual : bool

Defines whether the current records is only virtually shown and not physically part of the parent record

$controlItems : array<string|int, mixed>

(reference) Associative array with the currently available control items

renderForeignRecordHeaderControl_preProcess()

Pre-processing to define which control items are enabled or disabled.

public renderForeignRecordHeaderControl_preProcess(string $parentUid, string $foreignTable, array<string|int, mixed> $childRecord, array<string|int, mixed> $childConfig, bool $isVirtual, array<string|int, mixed> &$enabledControls) : mixed
Parameters
$parentUid : string

The uid of the parent (embedding) record (uid or NEW...)

$foreignTable : string

The table (foreign_table) we create control-icons for

$childRecord : array<string|int, mixed>

The current record of that foreign_table

$childConfig : array<string|int, mixed>

TCA configuration of the current field of the child record

$isVirtual : bool

Defines whether the current records is only virtually shown and not physically part of the parent record

$enabledControls : array<string|int, mixed>

(reference) Associative array with the enabled control items


        
On this page

Search results