I am trying to load all media items of a certain type but I can't find how to.
Is there a way to set a filtering type on something like
$media = Media::loadMultiple();
Or do you have to load all media and then filter manually?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community