FormYamlCollectorConfigurator
Read onlyYes
FinalYes
Symfony service configurator for {@see FormYamlCollector}.
Iterates over all active TYPO3 packages and registers every form YAML set found under Configuration/Form/<SetName>/ with the collector.
Each set directory must contain a config.yaml with the actual form configuration (loaded in both frontend and backend).
Sets whose declared name in config.yaml appears in $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['form']['disabledSets'] are skipped.
Table of Contents
Methods
- __construct() : mixed
- configure() : void
- Populates the given {@see FormYamlCollector} with all auto-discovered form YAML configurations across all active extensions.
Methods
__construct()
public
__construct(PackageManager $packageManager, LoggerInterface $logger) : mixed
Parameters
- $packageManager : PackageManager
- $logger : LoggerInterface
configure()
Populates the given {@see FormYamlCollector} with all auto-discovered form YAML configurations across all active extensions.
public
configure(FormYamlCollector $collector) : void
Note: $GLOBALS['TYPO3_CONF_VARS'] is read at service-instantiation time (not at DI-compile time), so ext_localconf.php values are available.
Parameters
- $collector : FormYamlCollector