1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-31 11:39:37 +02:00
php-phpbb/phpBB/config/installer/container/services_install_data.yml
2021-01-31 12:57:04 +01:00

71 lines
2.6 KiB
YAML

services:
installer.install_data.add_languages:
class: phpbb\install\module\install_data\task\add_languages
arguments:
- '@installer.helper.config'
- '@installer.helper.database'
- '@installer.helper.iohandler'
- '@installer.helper.container_factory'
- '@language.helper.language_file'
tags:
- { name: install_data_install, order: 1 }
installer.install_data.add_languages_to_profile_fields:
class: phpbb\install\module\install_data\task\setup_languages
arguments:
- '@installer.helper.config'
- '@installer.helper.database'
- '@installer.helper.iohandler'
- '@installer.helper.container_factory'
tags:
- { name: install_data_install, order: 2 }
installer.install_data.add_bots:
class: phpbb\install\module\install_data\task\add_bots
arguments:
- '@installer.helper.config'
- '@installer.helper.database'
- '@installer.helper.iohandler'
- '@installer.helper.container_factory'
- '@language'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: install_data_install, order: 3 }
installer.install_data.add_modules:
class: phpbb\install\module\install_data\task\add_modules
arguments:
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '@installer.helper.container_factory'
tags:
- { name: install_data_install, order: 4 }
installer.install_data.create_search_index:
class: phpbb\install\module\install_data\task\create_search_index
arguments:
- '@installer.helper.config'
- '@installer.helper.database'
- '@installer.helper.container_factory'
- '@installer.helper.iohandler'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: install_data_install, order: 5 }
installer.module.data_install_collection:
class: phpbb\di\ordered_service_collection
arguments:
- '@service_container'
tags:
- { name: service_collection, tag: install_data_install, class_name_aware: true }
installer.module.data_install:
class: phpbb\install\module\install_data\module
parent: installer.module_base
arguments:
- '@installer.module.data_install_collection'
tags:
- { name: installer_install_module, order: 5 }