[feature/module_services] Move module definitions to modules.yml
This commit is contained in:
292
config/modules.yml
Normal file
292
config/modules.yml
Normal file
@@ -0,0 +1,292 @@
|
||||
services:
|
||||
board3.module.announcements:
|
||||
class: \board3\portal\modules\announcements
|
||||
arguments:
|
||||
- @auth
|
||||
- @cache
|
||||
- @config
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- %core.php_ext%
|
||||
- %core.root_path%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.attachments:
|
||||
class: \board3\portal\modules\attachments
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- %core.php_ext%
|
||||
- %core.root_path%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.birthday_list:
|
||||
class: \board3\portal\modules\birthday_list
|
||||
arguments:
|
||||
- @config
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.calendar:
|
||||
class: \board3\portal\modules\calendar
|
||||
arguments:
|
||||
- @config
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
- @path_helper
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.clock:
|
||||
class: \board3\portal\modules\clock
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.custom:
|
||||
class: \board3\portal\modules\custom
|
||||
arguments:
|
||||
- @config
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.donation:
|
||||
class: \board3\portal\modules\donation
|
||||
arguments:
|
||||
- @config
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.forumlist:
|
||||
class: \board3\portal\modules\forumlist
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.friends:
|
||||
class: \board3\portal\modules\friends
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.latest_bots:
|
||||
class: \board3\portal\modules\latest_bots
|
||||
arguments:
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.latest_members:
|
||||
class: \board3\portal\modules\latest_members
|
||||
arguments:
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.leaders:
|
||||
class: \board3\portal\modules\leaders
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.link_us:
|
||||
class: \board3\portal\modules\link_us
|
||||
arguments:
|
||||
- @config
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.links:
|
||||
class: \board3\portal\modules\links
|
||||
arguments:
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.main_menu:
|
||||
class: \board3\portal\modules\main_menu
|
||||
arguments:
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.news:
|
||||
class: \board3\portal\modules\news
|
||||
arguments:
|
||||
- @auth
|
||||
- @cache
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.poll:
|
||||
class: \board3\portal\modules\poll
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.random_member:
|
||||
class: \board3\portal\modules\random_member
|
||||
arguments:
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.recent:
|
||||
class: \board3\portal\modules\recent
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.search:
|
||||
class: \board3\portal\modules\search
|
||||
arguments:
|
||||
- @template
|
||||
- %core.php_ext%
|
||||
- %core.root_path%
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.statistics:
|
||||
class: \board3\portal\modules\statistics
|
||||
arguments:
|
||||
- @cache
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.stylechanger:
|
||||
class: \board3\portal\modules\stylechanger
|
||||
arguments:
|
||||
- @config
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- %core.php_ext%
|
||||
- %core.root_path%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.topposters:
|
||||
class: \board3\portal\modules\topposters
|
||||
arguments:
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.user_menu:
|
||||
class: \board3\portal\modules\user_menu
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- @user
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.welcome:
|
||||
class: \board3\portal\modules\welcome
|
||||
arguments:
|
||||
- @config
|
||||
- @template
|
||||
- @user
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.whois_online:
|
||||
class: \board3\portal\modules\whois_online
|
||||
arguments:
|
||||
- @auth
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- @user
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
@@ -1,3 +1,6 @@
|
||||
imports:
|
||||
- { resource: modules.yml }
|
||||
|
||||
parameters:
|
||||
board3.version_data:
|
||||
author: Marc
|
||||
@@ -10,7 +13,6 @@ parameters:
|
||||
- board3_portal.xml
|
||||
|
||||
services:
|
||||
|
||||
board3.portal.main:
|
||||
class: \board3\portal\controller\main
|
||||
arguments:
|
||||
@@ -39,295 +41,3 @@ services:
|
||||
- @service_container
|
||||
tags:
|
||||
- { name: service_collection, tag: board3.module }
|
||||
|
||||
board3.module.announcements:
|
||||
class: \board3\portal\modules\announcements
|
||||
arguments:
|
||||
- @auth
|
||||
- @cache
|
||||
- @config
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- %core.php_ext%
|
||||
- %core.root_path%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.attachments:
|
||||
class: \board3\portal\modules\attachments
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- %core.php_ext%
|
||||
- %core.root_path%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.birthday_list:
|
||||
class: \board3\portal\modules\birthday_list
|
||||
arguments:
|
||||
- @config
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.calendar:
|
||||
class: \board3\portal\modules\calendar
|
||||
arguments:
|
||||
- @config
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
- @path_helper
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.clock:
|
||||
class: \board3\portal\modules\clock
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.custom:
|
||||
class: \board3\portal\modules\custom
|
||||
arguments:
|
||||
- @config
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.donation:
|
||||
class: \board3\portal\modules\donation
|
||||
arguments:
|
||||
- @config
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.forumlist:
|
||||
class: \board3\portal\modules\forumlist
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.friends:
|
||||
class: \board3\portal\modules\friends
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.latest_bots:
|
||||
class: \board3\portal\modules\latest_bots
|
||||
arguments:
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.latest_members:
|
||||
class: \board3\portal\modules\latest_members
|
||||
arguments:
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.leaders:
|
||||
class: \board3\portal\modules\leaders
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.link_us:
|
||||
class: \board3\portal\modules\link_us
|
||||
arguments:
|
||||
- @config
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.links:
|
||||
class: \board3\portal\modules\links
|
||||
arguments:
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.main_menu:
|
||||
class: \board3\portal\modules\main_menu
|
||||
arguments:
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.news:
|
||||
class: \board3\portal\modules\news
|
||||
arguments:
|
||||
- @auth
|
||||
- @cache
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.poll:
|
||||
class: \board3\portal\modules\poll
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.random_member:
|
||||
class: \board3\portal\modules\random_member
|
||||
arguments:
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.recent:
|
||||
class: \board3\portal\modules\recent
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.search:
|
||||
class: \board3\portal\modules\search
|
||||
arguments:
|
||||
- @template
|
||||
- %core.php_ext%
|
||||
- %core.root_path%
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.statistics:
|
||||
class: \board3\portal\modules\statistics
|
||||
arguments:
|
||||
- @cache
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.stylechanger:
|
||||
class: \board3\portal\modules\stylechanger
|
||||
arguments:
|
||||
- @config
|
||||
- @template
|
||||
- @dbal.conn
|
||||
- %core.php_ext%
|
||||
- %core.root_path%
|
||||
- @user
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.topposters:
|
||||
class: \board3\portal\modules\topposters
|
||||
arguments:
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.user_menu:
|
||||
class: \board3\portal\modules\user_menu
|
||||
arguments:
|
||||
- @auth
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- @user
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.welcome:
|
||||
class: \board3\portal\modules\welcome
|
||||
arguments:
|
||||
- @config
|
||||
- @template
|
||||
- @user
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
board3.module.whois_online:
|
||||
class: \board3\portal\modules\whois_online
|
||||
arguments:
|
||||
- @auth
|
||||
- @dbal.conn
|
||||
- @template
|
||||
- @user
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
tags:
|
||||
- { name: board3.module }
|
||||
|
||||
Reference in New Issue
Block a user