MDL-69166 core_payment: archiving accounts, triggering events, tests

This commit is contained in:
Marina Glancy
2020-10-27 14:40:49 +11:00
committed by Shamim Rezaie
parent 73527fa213
commit 409857a42f
18 changed files with 893 additions and 21 deletions
+6
View File
@@ -284,6 +284,12 @@ if ($hassiteconfig) {
$ADMIN->add('modules', new admin_category('paymentgateways', new lang_string('type_pg_plural', 'plugin')));
$temp = new admin_settingpage('managepaymentgateways', new lang_string('type_pgmanage', 'plugin'));
$temp->add(new \core_admin\local\settings\manage_payment_gateway_plugins());
$temp->add(new admin_setting_description(
'managepaymentgatewayspostfix',
'',
new lang_string('gotopaymentaccounts', 'payment',
html_writer::link(new moodle_url('/payment/accounts.php'), get_string('paymentaccounts', 'payment')))
));
$ADMIN->add('paymentgateways', $temp);
$plugins = core_plugin_manager::instance()->get_plugins_of_type('pg');