Property | Type | Description | |
---|---|---|---|
$configurationManager | TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface | ||
$contentObject | TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer | ||
$imageInfo | array | Result of \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::getImgResource() | |
$tsfeBackup | contains a backup of the current $GLOBALS['TSFE'] if used in BE mode | ||
$workingDirectoryBackup | string |
Method | Description | |
---|---|---|
initializeArguments ( ) : void | Initialize arguments. | |
injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void | ||
preprocessImage ( string | null $imageSource = null ) |
Method | Description | |
---|---|---|
resetFrontendEnvironment ( ) : void | Resets $GLOBALS['TSFE'] if it was previously changed by simulateFrontendEnvironment() | |
simulateFrontendEnvironment ( ) : void | Prepares $GLOBALS['TSFE'] for Backend mode This somewhat hacky work around is currently needed because the getImgResource() function of \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer relies on those variables to be set |
public initializeArguments ( ) : void | ||
return | void |
public injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void | ||
$configurationManager | TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface | |
return | void |
public preprocessImage ( string | null $imageSource = null ) | ||
$imageSource | string | null |
protected resetFrontendEnvironment ( ) : void | ||
return | void |
protected simulateFrontendEnvironment ( ) : void | ||
return | void |
protected ConfigurationManagerInterface,TYPO3\CMS\Extbase\Configuration $configurationManager | ||
return | TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface |
protected ContentObjectRenderer,TYPO3\CMS\Frontend\ContentObject $contentObject | ||
return | TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer |
protected array $imageInfo | ||
return | array |
protected $tsfeBackup |