ModifyNewContentElementWizardItemsEvent

final class \TYPO3\CMS\Backend\Controller\Event\ModifyNewContentElementWizardItemsEvent

Listeners to this Event will be able to modify the wizard items of the new content element wizard component

Table of Contents

Methods

__construct()  : mixed
getColPos()  : int|null
Provides information about the column position of the button that triggered the wizard.
getPageInfo()  : array
Provides information about the current page making use of the wizard.
getSysLanguage()  : int
Provides information about the language used while triggering the wizard.
getUidPid()  : int
Provides information about the element to position the new element after (uid) or into (pid).
getWizardItem()  : array|null
getWizardItems()  : array
hasWizardItem()  : bool
removeWizardItem()  : bool
setWizardItem()  : void
Add a new wizard item with configuration at a defined position.
setWizardItems()  : void

Methods

__construct()

public __construct(array $wizardItems, array $pageInfo, int|null $colPos, int $sys_language, int $uid_pid) : mixed

Parameters

$wizardItems : array
$pageInfo : array
$colPos : int|null
$sys_language : int
$uid_pid : int

getColPos()

Provides information about the column position of the button that triggered the wizard.

public getColPos() : int|null

Return values

int|null

getPageInfo()

Provides information about the current page making use of the wizard.

public getPageInfo() : array

Return values

array

getSysLanguage()

Provides information about the language used while triggering the wizard.

public getSysLanguage() : int

Return values

int

getUidPid()

Provides information about the element to position the new element after (uid) or into (pid).

public getUidPid() : int

Return values

int

getWizardItem()

public getWizardItem(string $identifier) : array|null

Parameters

$identifier : string

Return values

array|null

getWizardItems()

public getWizardItems() : array

Return values

array

hasWizardItem()

public hasWizardItem(string $identifier) : bool

Parameters

$identifier : string

Return values

bool

removeWizardItem()

public removeWizardItem(string $identifier) : bool

Parameters

$identifier : string

Return values

bool

setWizardItem()

Add a new wizard item with configuration at a defined position.

public setWizardItem(string $identifier, array $configuration[, array $position = [] ]) : void

Can also be used to relocate existing items and to modify their configuration.

Parameters

$identifier : string
$configuration : array
$position : array = []

setWizardItems()

public setWizardItems(array $wizardItems) : void

Parameters

$wizardItems : array
On this page