2 namespace TYPO3\CMS\Backend\ContextMenu\Pagetree;
33 'paste' =>
'pasteInto,pasteAfter',
34 'mount_as_treeroot' =>
'mountAsTreeroot'
46 if (trim($tsConfig[
'value']) !==
'') {
49 $tsConfig = $this->
getBackendUser()->getTSConfig(
'options.contextMenu.pageTree.disableItems');
50 $oldDisableItems = array();
51 if (trim($tsConfig[
'value']) !==
'') {
54 $additionalItems = array();
55 foreach ($oldDisableItems as $item) {
56 if (!isset($this->legacyContextMenuMapping[$item])) {
57 $additionalItems[] = $item;
60 if (strpos($this->legacyContextMenuMapping[$item],
',')) {
62 $additionalItems = array_merge($additionalItems, $actions);
64 $additionalItems[] = $item;
80 $contextMenuActions = array();
81 if (is_array($configuration)) {
82 $contextMenuActions = $this->getNextContextMenuLevel($configuration, $node);
84 return $contextMenuActions;