aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-06-24 16:58:41 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-06-24 16:58:41 +0200
commit8747c7a2c17e2f5408f528f5213a3e056aefd54e (patch)
tree7a44d13474e622ef29a74bf91b6d26e6eef9ecbb /phpBB/config/default
parent6bcf12a558bed49267aba12b6ef000c52e8632e2 (diff)
parent2a7d26d3debdce7ca82f3044de45b651286c6034 (diff)
downloadforums-8747c7a2c17e2f5408f528f5213a3e056aefd54e.tar
forums-8747c7a2c17e2f5408f528f5213a3e056aefd54e.tar.gz
forums-8747c7a2c17e2f5408f528f5213a3e056aefd54e.tar.bz2
forums-8747c7a2c17e2f5408f528f5213a3e056aefd54e.tar.xz
forums-8747c7a2c17e2f5408f528f5213a3e056aefd54e.zip
Merge pull request #3579 from s9e/ticket/13803
[ticket/13803] Implement a generic and scalable way to reparse rich text
Diffstat (limited to 'phpBB/config/default')
-rw-r--r--phpBB/config/default/container/services.yml1
-rw-r--r--phpBB/config/default/container/services_text_reparser.yml70
2 files changed, 71 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services.yml b/phpBB/config/default/container/services.yml
index cab82a5d9c..aec61e0272 100644
--- a/phpBB/config/default/container/services.yml
+++ b/phpBB/config/default/container/services.yml
@@ -19,6 +19,7 @@ imports:
- { resource: services_report.yml }
- { resource: services_routing.yml }
- { resource: services_text_formatter.yml }
+ - { resource: services_text_reparser.yml }
- { resource: services_twig.yml }
- { resource: services_user.yml }
diff --git a/phpBB/config/default/container/services_text_reparser.yml b/phpBB/config/default/container/services_text_reparser.yml
new file mode 100644
index 0000000000..5d54e8dc82
--- /dev/null
+++ b/phpBB/config/default/container/services_text_reparser.yml
@@ -0,0 +1,70 @@
+services:
+ text_reparser_collection:
+ class: phpbb\di\service_collection
+ arguments:
+ - @service_container
+ tags:
+ - { name: service_collection, tag: text_reparser.plugin }
+
+ text_reparser.contact_admin_info:
+ class: phpbb\textreparser\plugins\contact_admin_info
+ arguments:
+ - @config_text
+ tags:
+ - { name: text_reparser.plugin }
+
+ text_reparser.forum_description:
+ class: phpbb\textreparser\plugins\forum_description
+ arguments:
+ - @dbal.conn
+ tags:
+ - { name: text_reparser.plugin }
+
+ text_reparser.forum_rules:
+ class: phpbb\textreparser\plugins\forum_rules
+ arguments:
+ - @dbal.conn
+ tags:
+ - { name: text_reparser.plugin }
+
+ text_reparser.group_description:
+ class: phpbb\textreparser\plugins\group_description
+ arguments:
+ - @dbal.conn
+ tags:
+ - { name: text_reparser.plugin }
+
+ text_reparser.pm_text:
+ class: phpbb\textreparser\plugins\pm_text
+ arguments:
+ - @dbal.conn
+ tags:
+ - { name: text_reparser.plugin }
+
+ text_reparser.poll_option:
+ class: phpbb\textreparser\plugins\poll_option
+ arguments:
+ - @dbal.conn
+ tags:
+ - { name: text_reparser.plugin }
+
+ text_reparser.poll_title:
+ class: phpbb\textreparser\plugins\poll_title
+ arguments:
+ - @dbal.conn
+ tags:
+ - { name: text_reparser.plugin }
+
+ text_reparser.post_text:
+ class: phpbb\textreparser\plugins\post_text
+ arguments:
+ - @dbal.conn
+ tags:
+ - { name: text_reparser.plugin }
+
+ text_reparser.user_signature:
+ class: phpbb\textreparser\plugins\user_signature
+ arguments:
+ - @dbal.conn
+ tags:
+ - { name: text_reparser.plugin }