ImageFieldUpdated
class ImageFieldUpdated
This class should be registered in a service provider for PagesServiceProvider. It is called anytime a field with type "image" is updated. We do this so we can hook into the updated event and then create media versions and thumbnails for this image field
Methods
__construct(Images $Images, MediaPaths $MediaPaths)
Constructs a new Image field updated event handler
array
handle($field, $input, $beforeChanges)
This is called anytime after we update an image field in devise
Details
at line 22
__construct(Images $Images, MediaPaths $MediaPaths)
Constructs a new Image field updated event handler
at line 37
array
handle($field, $input, $beforeChanges)
This is called anytime after we update an image field in devise