Get all media of model regardless of collection #2965
Unanswered
leecheromerevilit
asked this question in
Q&A
Replies: 1 comment
-
try |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way we can get all media associated to a model regardless of collection?
$model->getMedia('*') seems to be suited for this.
Beta Was this translation helpful? Give feedback.
All reactions