‪TYPO3CMS  11.5
ConfigurationManagerInterface.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
21 use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
22 
28 {
29  public const ‪CONFIGURATION_TYPE_FRAMEWORK = 'Framework';
30  public const ‪CONFIGURATION_TYPE_SETTINGS = 'Settings';
31  public const ‪CONFIGURATION_TYPE_FULL_TYPOSCRIPT = 'FullTypoScript';
32 
36  public function ‪setContentObject(ContentObjectRenderer $contentObject): void;
37 
43  public function ‪getContentObject(): ?ContentObjectRenderer;
44 
56  public function ‪getConfiguration(string $configurationType, ?string $extensionName = null, ?string $pluginName = null): array;
57 
64  public function ‪setConfiguration(array $configuration = []): void;
65 
76  public function ‪isFeatureEnabled(string $featureName): bool;
77 }
‪TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface\isFeatureEnabled
‪bool isFeatureEnabled(string $featureName)
‪TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface\getContentObject
‪TYPO3 CMS Frontend ContentObject ContentObjectRenderer null getContentObject()
‪TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
Definition: ConfigurationManagerInterface.php:28
‪TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface\CONFIGURATION_TYPE_FRAMEWORK
‪const CONFIGURATION_TYPE_FRAMEWORK
Definition: ConfigurationManagerInterface.php:29
‪TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface\setConfiguration
‪setConfiguration(array $configuration=[])
‪TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface\setContentObject
‪setContentObject(ContentObjectRenderer $contentObject)
‪TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface\getConfiguration
‪array getConfiguration(string $configurationType, ?string $extensionName=null, ?string $pluginName=null)
‪TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface\CONFIGURATION_TYPE_FULL_TYPOSCRIPT
‪const CONFIGURATION_TYPE_FULL_TYPOSCRIPT
Definition: ConfigurationManagerInterface.php:31
‪TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface\CONFIGURATION_TYPE_SETTINGS
‪const CONFIGURATION_TYPE_SETTINGS
Definition: ConfigurationManagerInterface.php:30
‪TYPO3\CMS\Core\SingletonInterface
Definition: SingletonInterface.php:22
‪TYPO3\CMS\Extbase\Configuration
Definition: AbstractConfigurationManager.php:18