Add markup tag

This commit is contained in:
philipp lang 2023-02-12 21:41:40 +01:00
parent ea5a64e732
commit 17e1456ee7
1 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,7 @@
namespace Zoomyboy\Event;
use Backend;
use Carbon\Carbon;
use System\Classes\PluginBase;
/**
@ -106,6 +107,17 @@ class Plugin extends PluginBase
];
}
public function registerMarkupTags(): array
{
return [
'filters' => [
'date' => function ($date) {
return Carbon::parse($date)->format('d.m.Y');
},
],
];
}
public function registerMailTemplates()
{
return [