SilentTemplateFileUpgradeService
Execute "silent" upgrades for folder structure template files, if needed.
Since the content of the template files may changed over time this class performs the necessary content changes in those files already present in the installation. It is called by the layout controller at an early point.
Every change is encapsulated in one method and must throw a TemplateFileChangedException if its content was updated.
This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.
Table of Contents
Properties
Methods
- __construct() : mixed
- execute() : void
- Executed content changes. Single upgrade methods must throw a TemplateFileChangedException if content of the file was updated.
- addBackendRoutingRewriteRules() : void
- throwTemplateFileChangedException() : void
- Throw exception after template file content change to trigger a redirect.
Properties
$webServerConfigurationFileService
protected
WebServerConfigurationFileService
$webServerConfigurationFileService
Methods
__construct()
public
__construct(WebServerConfigurationFileService $webServerConfigurationFileService) : mixed
Parameters
- $webServerConfigurationFileService : WebServerConfigurationFileService
execute()
Executed content changes. Single upgrade methods must throw a TemplateFileChangedException if content of the file was updated.
public
execute() : void
Tags
addBackendRoutingRewriteRules()
protected
addBackendRoutingRewriteRules() : void
Tags
throwTemplateFileChangedException()
Throw exception after template file content change to trigger a redirect.
protected
throwTemplateFileChangedException() : void