Task #46580

FileList misses function getFolderObject

Added by Georg Ringer about 8 years ago. Updated almost 6 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;
    }

#1

Updated by Sebastian Fischer about 7 years ago

Could you please push it to gerrit?

#2

Updated by Georg Ringer almost 6 years ago

  • Status changed from Accepted to Closed

not needed anymore

Also available in: Atom PDF