How can I reuse slug update configurations?
How can I reuse the callback on
afterStateUpdated()
between I my Forms?
I have 4 Forms that uses slug and descriptions fields and I like to reuse it, because all was the same.
ThanksSolution:Jump to solution
Extract the callback?
```php
public static function getSlugHandler()
{
return function (Get $get, Set $set, ?string $old, ?string $state) {...
2 Replies
Solution
Extract the callback?
Thank you