Skip to content

How can we restrict file upload to certain file types? #7835

Discussion options

You must be logged in to vote

I suppose you might be able to use the AssetEvents::PRE_ADD event and inspect the file type then and there.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hellosmriti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants