TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\ContextMenu\Pagetree\ContextMenuDataProvider Class Reference
Inheritance diagram for TYPO3\CMS\Backend\ContextMenu\Pagetree\ContextMenuDataProvider:
TYPO3\CMS\Backend\ContextMenu\AbstractContextMenuDataProvider

Public Member Functions

 getActionsForNode (\TYPO3\CMS\Backend\Tree\TreeNode $node)
 
- Public Member Functions inherited from TYPO3\CMS\Backend\ContextMenu\AbstractContextMenuDataProvider
 getContextMenuType ()
 
 setContextMenuType ($contextMenuType)
 
 getActionsForNode (TreeNode $node)
 

Protected Member Functions

 getDisableActions ()
 
 getBackendUser ()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\ContextMenu\AbstractContextMenuDataProvider
 getConfiguration ()
 
 evaluateDisplayCondition (TreeNode $node, $displayCondition)
 
 replaceModuleTokenInContentUrl ($contentUrl)
 
 getLanguageService ()
 
 getBackendUser ()
 

Protected Attributes

 $legacyContextMenuMapping
 
- Protected Attributes inherited from TYPO3\CMS\Backend\ContextMenu\AbstractContextMenuDataProvider
 $disableItems = []
 
 $contextMenuType = ''
 

Detailed Description

Context Menu Data Provider for the Page Tree

Definition at line 22 of file ContextMenuDataProvider.php.

Member Function Documentation

◆ getActionsForNode()

TYPO3\CMS\Backend\ContextMenu\Pagetree\ContextMenuDataProvider::getActionsForNode ( \TYPO3\CMS\Backend\Tree\TreeNode  $node)

Returns the actions for the node

Parameters
\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode$node
Returns

Definition at line 93 of file ContextMenuDataProvider.php.

References TYPO3\CMS\Backend\ContextMenu\AbstractContextMenuDataProvider\getConfiguration(), and TYPO3\CMS\Backend\ContextMenu\Pagetree\ContextMenuDataProvider\getDisableActions().

◆ getBackendUser()

TYPO3\CMS\Backend\ContextMenu\Pagetree\ContextMenuDataProvider::getBackendUser ( )
protected

Returns the current BE user.

Returns

Definition at line 109 of file ContextMenuDataProvider.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\ContextMenu\Pagetree\ContextMenuDataProvider\getDisableActions().

◆ getDisableActions()

Member Data Documentation

◆ $legacyContextMenuMapping

TYPO3\CMS\Backend\ContextMenu\Pagetree\ContextMenuDataProvider::$legacyContextMenuMapping
protected
Initial value:
= [
'hide' => 'disable'

Definition at line 31 of file ContextMenuDataProvider.php.