mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-23 01:36:11 +01:00
[fix] v9 compatible extension configuration implementation
This commit is contained in:
parent
4606d7649e
commit
5acdd91865
1 changed files with 22 additions and 2 deletions
|
@ -2,6 +2,26 @@
|
||||||
|
|
||||||
namespace Codappix\SearchCore\Compatibility;
|
namespace Codappix\SearchCore\Compatibility;
|
||||||
|
|
||||||
class ExtensionConfiguration extends \TYPO3\CMS\Core\Configuration\ExtensionConfiguration implements ExtensionConfigurationInterface
|
use Codappix\SearchCore\Bootstrap;
|
||||||
|
|
||||||
|
class ExtensionConfiguration implements ExtensionConfigurationInterface
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @return object|\TYPO3\CMS\Core\Configuration\ExtensionConfiguration
|
||||||
|
*/
|
||||||
|
protected function _base()
|
||||||
|
{
|
||||||
|
return Bootstrap::getObjectManager()->get(\TYPO3\CMS\Core\Configuration\ExtensionConfiguration::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param $extensionKey
|
||||||
|
* @return mixed
|
||||||
|
* @throws \TYPO3\CMS\Core\Configuration\Exception\ExtensionConfigurationExtensionNotConfiguredException
|
||||||
|
* @throws \TYPO3\CMS\Core\Configuration\Exception\ExtensionConfigurationPathDoesNotExistException
|
||||||
|
*/
|
||||||
|
public function get($extensionKey)
|
||||||
|
{
|
||||||
|
return $this->_base()->get($extensionKey);
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue