N

How to override Option value on save?

  • Thread starter Thread starter nopoles613
  • Start date Start date
N

nopoles613

Guest

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...

Read more

Continue reading...
 
Similar threads Most view View more
Back
Top Bottom