Issue Bug Closed

#50983Add public API to get ApplicationContext

Steffen Müller 08/10/13, 00:08 updated 10/23/17, 21:47

Description

Application Context is initialized in Bootstrap. We need a public API to get the current context without using the bootstrap itself.

In Flow, the ObjectManager provides this API, but in TYPO3 CMS we do not have this kind of ObjectManager (except in extbase).

The API call is:

\TYPO3\CMS\Core\Utility\GeneralUtility::getContext();

Reviews 1