FeatureManager

Instantiate and configure all known features and presets

Internal

only to be used within EXT:install

Table of Contents

Properties

$featureRegistry  : array<string|int, mixed>

Methods

getBestMatchingConfigurationForAllFeatures()  : array<string|int, mixed>
Cycle through features and get settings. First matching preset (highest priority) will be selected.
getConfigurationForSelectedFeaturePresets()  : array<string|int, mixed>
Get configuration values to be set to LocalConfiguration from list of selected $POST feature presets
getInitializedFeatures()  : array<string|int, FeatureInterface>
Get initialized list of features with possible presets

Properties

$featureRegistry

protected array<string|int, mixed> $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<string|int, mixed>
Return values
array<string|int, mixed>

Configuration settings

getConfigurationForSelectedFeaturePresets()

Get configuration values to be set to LocalConfiguration from list of selected $POST feature presets

public getConfigurationForSelectedFeaturePresets(array<string|int, mixed> $postValues) : array<string|int, mixed>
Parameters
$postValues : array<string|int, mixed>

List of $POST values

Return values
array<string|int, mixed>

List of configuration values

getInitializedFeatures()

Get initialized list of features with possible presets

public getInitializedFeatures([array<string|int, mixed> $postValues = [] ]) : array<string|int, FeatureInterface>
Parameters
$postValues : array<string|int, mixed> = []

List of $POST values

Tags
throws
Exception
Return values
array<string|int, FeatureInterface>

        
On this page

Search results