Keşfet

How to override Option value on save?

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
5,535
Tepkime puanı
287
Konum
Türkiye
Web sitesi
fivetu.xyz
Hello, we have a custom plugin we've built that uses a Code Event Listener to listen for the event entity_post_save on XF\Entity\Option objects. The Event Listener uses a callback to trigger some checks and updates when certain settings in our plugin are changed. This all works as expected.

However, there are cases where we'd like to change the value of the Option entity from the event listener.

Our listener receives the XF\Entity\Option $entity, and I've...

Lütfen içeriği görebilmek için Giriş yap yada Kayıt ol
 

Konu görüntüleyen kullanıcılar

Benzer konular

Geri
Üst Alt