Issue Task Closed

#46580FileList misses function getFolderObject

Georg Ringer 03/23/13, 09:26 updated 06/29/15, 11:21

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;
    }

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.