Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
t3o
my.typo3.org
Commits
51c31a91
Commit
51c31a91
authored
May 21, 2019
by
Thomas Löffler
Browse files
Use objectManager to get ConfigurationManager and fix DI
parent
03cec1c7
Pipeline
#7059
passed with stages
in 3 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extensions/t3omy/Classes/Hooks/FeManagerHooks.php
View file @
51c31a91
...
...
@@ -288,7 +288,8 @@ class FeManagerHooks
protected
function
getTSConfiguration
()
{
// init ConfigurationManager
$configurationManager
=
GeneralUtility
::
makeInstance
(
\
TYPO3\CMS\Extbase\Configuration\ConfigurationManager
::
class
);
$objectManager
=
GeneralUtility
::
makeInstance
(
ObjectManager
::
class
);
$configurationManager
=
$objectManager
->
get
(
\
TYPO3\CMS\Extbase\Configuration\ConfigurationManager
::
class
);
// load complete ts
$tsSettings
=
$configurationManager
->
getConfiguration
(
\
TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
::
CONFIGURATION_TYPE_FULL_TYPOSCRIPT
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment