ContextMenu

class \TYPO3\CMS\Backend\ContextMenu\ContextMenu

Class for generating the click menu

Attributes

#[Autoconfigure]
$public: true

Table of Contents

Properties

$itemProvidersRegistry  : ItemProvidersRegistry

Methods

__construct()  : mixed
getItems()  : array
cleanItems()  : array
Clean up double dividers.
getAvailableProviders()  : ProviderInterface[]

Properties

Methods

getItems()

public getItems(string $table, string $identifier[, string $context = '' ]) : array

Parameters

$table : string
$identifier : string
$context : string = ''

Return values

array

cleanItems()

Clean up double dividers.

protected cleanItems(array $items) : array

Don't render menu when there are no item or submenu.

Parameters

$items : array

Return values

array

getAvailableProviders()

protected getAvailableProviders(string $table, string $identifier, string $context) : ProviderInterface[]

Parameters

$table : string
$identifier : string
$context : string

Return values

ProviderInterface[]
On this page