35 'paste' =>
'pasteInto,pasteAfter',
36 'mount_as_treeroot' =>
'mountAsTreeroot' 47 if (trim($tsConfig[
'value']) !==
'') {
50 $tsConfig =
$GLOBALS[
'BE_USER']->getTSConfig(
'options.contextMenu.pageTree.disableItems');
51 $oldDisableItems = array();
52 if (trim($tsConfig[
'value']) !==
'') {
55 $additionalItems = array();
56 foreach ($oldDisableItems as $item) {
57 if (!isset($this->legacyContextMenuMapping[$item])) {
58 $additionalItems[] = $item;
61 if (strpos($this->legacyContextMenuMapping[$item],
',')) {
63 $additionalItems = array_merge($additionalItems, $actions);
65 $additionalItems[] = $item;
72 if (!empty(
$GLOBALS[
'TYPO3_CONF_VARS'][
'SC_OPTIONS'][
'backend'][
'contextMenu'][
'disableItems'])
73 && is_array(
$GLOBALS[
'TYPO3_CONF_VARS'][
'SC_OPTIONS'][
'backend'][
'contextMenu'][
'disableItems'])
75 $hooks =
$GLOBALS[
'TYPO3_CONF_VARS'][
'SC_OPTIONS'][
'backend'][
'contextMenu'][
'disableItems'];
76 foreach ($hooks as $hook) {
77 $parameterArray = array(
97 $contextMenuActions = array();
98 if (is_array($configuration)) {
99 $contextMenuActions = $this->getNextContextMenuLevel($configuration, $node);
101 return $contextMenuActions;
static trimExplode($delim, $string, $removeEmptyValues=FALSE, $limit=0)
static callUserFunction($funcName, &$params, &$ref, $checkPrefix='', $errorMode=0)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]