2 declare(strict_types = 1);
39 return GeneralUtility::makeInstance(static::class);
50 $this->registeredAddons[$addon->getIdentifier()] = $addon;
59 public function getForMode(
string $mode =
''): array
63 foreach ($this->registeredAddons as $addon) {
64 if (empty($addon->getModes()) || in_array($mode, $addon->getModes(),
true)) {
79 foreach ($addons as $addon) {
80 $settings = array_merge($settings, $addon->getOptions());