Skip to content

Commit d05ca12

Browse files
committed
Update ConfigurationManager with current TYPO3 version
1 parent d753adf commit d05ca12

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/Xclass/ConfigurationManager.php

+9-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ class ConfigurationManager
127127
* @var array
128128
*/
129129
protected $whiteListedLocalConfigurationPaths = [
130-
'EXT/extConf',
131130
'EXTCONF',
132131
'DB',
133132
'SYS/caching/cacheConfigurations',
@@ -371,6 +370,9 @@ public function getConfigurationValueByPath($path)
371370

372371
/**
373372
* Update a given path in local configuration to a new value.
373+
* Warning: TO BE USED ONLY to update a single feature.
374+
* NOT TO BE USED within iterations to update multiple features.
375+
* To update multiple features use setLocalConfigurationValuesByPathValuePairs().
374376
*
375377
* @param string $path Path to update
376378
* @param mixed $value Value to set
@@ -431,6 +433,9 @@ public function removeLocalConfigurationKeysByPath(array $keys): bool
431433
/**
432434
* Enables a certain feature and writes the option to LocalConfiguration.php
433435
* Short-hand method
436+
* Warning: TO BE USED ONLY to enable a single feature.
437+
* NOT TO BE USED within iterations to enable multiple features.
438+
* To update multiple features use setLocalConfigurationValuesByPathValuePairs().
434439
*
435440
* @param string $featureName something like "InlineSvgImages"
436441
* @return bool true on successful writing the setting
@@ -443,6 +448,9 @@ public function enableFeature(string $featureName): bool
443448
/**
444449
* Disables a feature and writes the option to LocalConfiguration.php
445450
* Short-hand method
451+
* Warning: TO BE USED ONLY to disable a single feature.
452+
* NOT TO BE USED within iterations to disable multiple features.
453+
* To update multiple features use setLocalConfigurationValuesByPathValuePairs().
446454
*
447455
* @param string $featureName something like "InlineSvgImages"
448456
* @return bool true on successful writing the setting

0 commit comments

Comments
 (0)