‪TYPO3CMS  9.5
TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileStorageProvider Class Reference
Inheritance diagram for TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileStorageProvider:
TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileProvider 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

bool canShowInfo ()
 
bool canBeEdited ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileProvider
 initialize ()
 
bool canRender (string $itemName, string $type)
 
bool canBeRenamed ()
 
bool canBeDeleted ()
 
bool canCreateNew ()
 
bool canBeCopied ()
 
bool canBeCut ()
 
bool canBePastedInto ()
 
bool isFoldersAreInTheSameRoot ($fileOrFolderInClipBoard)
 
bool isRecordInClipboard (string $mode='')
 
bool isStorageRoot ()
 
bool isFile ()
 
bool isFolder ()
 
array getAdditionalAttributes (string $itemName)
 
string getIdentifier ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\ContextMenu\ItemProviders\AbstractProvider
 initClipboard ()
 
 initDisabledItems ()
 
array prepareItems (array $itemsConfiguration)
 

Protected Attributes

array $itemsConfiguration
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileProvider
File Folder $record
 
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

Provides click menu items for file_storage

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

Definition at line 22 of file FileStorageProvider.php.

Member Function Documentation

◆ canBeEdited()

bool TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileStorageProvider::canBeEdited ( )
protected
Returns
‪bool

Reimplemented from TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileProvider.

Definition at line 76 of file FileStorageProvider.php.

◆ canHandle()

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

Reimplemented from TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileProvider.

Definition at line 60 of file FileStorageProvider.php.

◆ canShowInfo()

bool TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileStorageProvider::canShowInfo ( )
protected
Returns
‪bool

Reimplemented from TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileProvider.

Definition at line 68 of file FileStorageProvider.php.

Member Data Documentation

◆ $itemsConfiguration

array TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileStorageProvider::$itemsConfiguration
protected
Initial value:
= array(
'edit' => [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:cm.edit',
'iconIdentifier' => 'actions-open',
'callbackAction' => 'editFileStorage'
],
'upload' => [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:cm.upload',
'iconIdentifier' => 'actions-edit-upload',
'callbackAction' => 'uploadFile'
],
'new' => [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:cm.new',
'iconIdentifier' => 'actions-document-new',
'callbackAction' => 'createFile'
],
'info' => [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:cm.info',
'iconIdentifier' => 'actions-document-info',
'callbackAction' => 'openInfoPopUp'
],
'divider' => [
'type' => 'divider'
],
'pasteInto' => [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:cm.pasteinto',
'iconIdentifier' => 'actions-document-paste-into',
'callbackAction' => 'pasteFileInto'
],
)

Definition at line 26 of file FileStorageProvider.php.