forked from FluidTYPO3/flux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Create special boot-time TemplatePaths which avoids Configur…
…ationManager Helps partially solve some issues on v12 when loading form instances from templates before TYPO3 is fully initialized.
- Loading branch information
1 parent
b3661b6
commit 0be6c62
Showing
5 changed files
with
68 additions
and
14 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
Classes/Integration/Configuration/ConfigurationContext.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
namespace FluidTYPO3\Flux\Integration\Configuration; | ||
|
||
use TYPO3\CMS\Core\SingletonInterface; | ||
|
||
class ConfigurationContext implements SingletonInterface | ||
{ | ||
private bool $bootMode = false; | ||
|
||
public function isBootMode(): bool | ||
{ | ||
return $this->bootMode; | ||
} | ||
|
||
public function setBootMode(bool $bootMode): void | ||
{ | ||
$this->bootMode = $bootMode; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters