ContextMenu

Class for generating the click menu

Internal

Table of Contents

Properties

$itemProviders  : array<string|int, mixed>
Click menu item providers shipped with EXT:backend

Methods

getItems()  : array<string|int, mixed>
cleanItems()  : array<string|int, mixed>
Clean up double dividers.
getAvailableProviders()  : array<string|int, mixed>

Properties

$itemProviders

Click menu item providers shipped with EXT:backend

protected array<string|int, mixed> $itemProviders = [\TYPO3\CMS\Backend\ContextMenu\ItemProviders\PageProvider::class, \TYPO3\CMS\Backend\ContextMenu\ItemProviders\RecordProvider::class]

Methods

getItems()

public getItems(string $table, string $identifier[, string $context = '' ]) : array<string|int, mixed>
Parameters
$table : string
$identifier : string
$context : string = ''
Return values
array<string|int, mixed>

cleanItems()

Clean up double dividers.

protected cleanItems(array<string|int, mixed> $items) : array<string|int, mixed>

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

Parameters
$items : array<string|int, mixed>
Return values
array<string|int, mixed>

getAvailableProviders()

protected getAvailableProviders(string $table, string $identifier, string $context) : array<string|int, mixed>
Parameters
$table : string
$identifier : string
$context : string
Return values
array<string|int, mixed>

of \TYPO3\CMS\Backend\ContextMenu\ItemProviders\ProviderInterface


        
On this page

Search results