Project

General

Profile

Actions

Task #46580

closed

FileList misses function getFolderObject

Added by Georg Ringer over 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-03-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['fileList']['editIconsHook'] is useless if there is no information about the folderobject itself.

Usecase: I want to change the edit icons for a specific driver.

Solution: add

    /**
     * Get folder object
     *
     * @return \TYPO3\CMS\Core\Resource\Folder
     */
    public function getFolderObject() {
        return $this->folderObject;
    }

Actions

Also available in: Atom PDF