FeatureManager
Instantiate and configure all known features and presets
only to be used within EXT:install
Table of Contents
Properties
- $featureRegistry : array
Methods
- getBestMatchingConfigurationForAllFeatures() : array
- Cycle through features and get settings. First matching preset (highest priority) will be selected.
- getConfigurationForSelectedFeaturePresets() : array
- Get configuration values to be set to LocalConfiguration from list of selected $POST feature presets
- getInitializedFeatures() : FeatureInterface[]
- Get initialized list of features with possible presets
Properties
$featureRegistry
protected
array
$featureRegistry
= [\TYPO3\CMS\Install\Configuration\Cache\CacheFeature::class, \TYPO3\CMS\Install\Configuration\Context\ContextFeature::class, \TYPO3\CMS\Install\Configuration\Image\ImageFeature::class, \TYPO3\CMS\Install\Configuration\Mail\MailFeature::class, \TYPO3\CMS\Install\Configuration\PasswordHashing\PasswordHashingFeature::class]
List of feature class names
Methods
getBestMatchingConfigurationForAllFeatures()
Cycle through features and get settings. First matching preset (highest priority) will be selected.
public
getBestMatchingConfigurationForAllFeatures() : array
Return values
array —Configuration settings
getConfigurationForSelectedFeaturePresets()
Get configuration values to be set to LocalConfiguration from list of selected $POST feature presets
public
getConfigurationForSelectedFeaturePresets(array $postValues) : array
Parameters
- $postValues : array
-
List of $POST values
Return values
array —List of configuration values
getInitializedFeatures()
Get initialized list of features with possible presets
public
getInitializedFeatures([array $postValues = [] ]) : FeatureInterface[]
Parameters
- $postValues : array = []
-
List of $POST values