‪TYPO3CMS  10.4
TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileDragProvider Class Reference
Inheritance diagram for TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileDragProvider:
TYPO3\CMS\Backend\ContextMenu\ItemProviders\AbstractProvider TYPO3\CMS\Backend\ContextMenu\ItemProviders\ProviderInterface

Public Member Functions

bool canHandle ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\ContextMenu\ItemProviders\AbstractProvider
 __construct (string $table, string $identifier, string $context='')
 
int getPriority ()
 
array addItems (array $items)
 

Protected Member Functions

array getAdditionalAttributes (string $itemName)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\ContextMenu\ItemProviders\AbstractProvider
 initialize ()
 
 initClipboard ()
 
 initDisabledItems ()
 
array prepareItems (array $itemsConfiguration)
 
bool canRender (string $itemName, string $type)
 
string getIdentifier ()
 

Protected Attributes

array $itemsConfiguration
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\ContextMenu\ItemProviders\AbstractProvider
LanguageService $languageService
 
BackendUserAuthentication $backendUser
 
TYPO3 CMS Backend Clipboard Clipboard $clipboard
 
array $itemsConfiguration = array( )
 
array $disabledItems = array( )
 
string $table = ''
 
string $identifier = ''
 
string $context = ''
 

Detailed Description

Drag drop menu provider for legacy tree (used in filelist folder tree)

this is a concrete TYPO3 hook implementation and solely used for EXT:filelist and not part of TYPO3's Core API.

Definition at line 27 of file FileDragProvider.php.

Member Function Documentation

◆ canHandle()

bool TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileDragProvider::canHandle ( )
Returns
‪bool

Reimplemented from TYPO3\CMS\Backend\ContextMenu\ItemProviders\AbstractProvider.

Definition at line 47 of file FileDragProvider.php.

◆ getAdditionalAttributes()

array TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileDragProvider::getAdditionalAttributes ( string  $itemName)
protected
Parameters
string$itemName
Returns
‪array

Reimplemented from TYPO3\CMS\Backend\ContextMenu\ItemProviders\AbstractProvider.

Definition at line 56 of file FileDragProvider.php.

Member Data Documentation

◆ $itemsConfiguration

array TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileDragProvider::$itemsConfiguration
protected
Initial value:
= array(
'copyInto' => [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:cm.copyFolder_into',
'iconIdentifier' => 'apps-pagetree-drag-move-into',
'callbackAction' => 'dropCopyInto'
],
'moveInto' => [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:cm.moveFolder_into',
'iconIdentifier' => 'apps-pagetree-drag-move-into',
'callbackAction' => 'dropMoveInto'
]
)

Definition at line 31 of file FileDragProvider.php.