InlineElementHookInterface

interface \TYPO3\CMS\Backend\Form\Element\InlineElementHookInterface

Interface for classes which hook into inline element handling

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 $childRecord, array $childConfig, bool $isVirtual, array &$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

The current record of that foreign_table

$childConfig : array

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

(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 $childRecord, array $childConfig, bool $isVirtual, array &$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

The current record of that foreign_table

$childConfig : array

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

(reference) Associative array with the enabled control items

On this page