designtopack/public/site/plugins/notifications/index.php

12 lines
311 B
PHP
Raw Normal View History

<?php
Kirby::plugin('adrienpayet/pdc-notifications', [
2024-11-17 12:01:20 +01:00
// 'routes' => [
// require(__DIR__ . '/routes/mark-as-read.php'),
// ],
2024-10-30 10:56:11 +01:00
'userMethods' => [
2024-11-17 12:01:20 +01:00
'sendNotification' => require(__DIR__ . '/user-methods/send.php'),
'deleteNotification' => require(__DIR__ . '/user-methods/delete.php')
]
]);