Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In media > 7.x-2.0-unstable6 the function media_type_get_types() is removed.
I think, the new function is file_type_get_enabled_types().
As this function is in the file_entity module, it may get renamed again to have the correct module-prefix.
Comment | File | Size | Author |
---|---|---|---|
#2 | media_gallery-media_type_get_types-1824870-2.patch | 556 bytes | Moloc |
Comments
Comment #1
lsolesen CreditAttribution: lsolesen commentedTagging.
Comment #2
Moloc CreditAttribution: Moloc commentedpatch uses file_type_get_enabled_types(), as it is also done in http://drupal.org/node/1244204#comment-6708140
Comment #3
Moloc CreditAttribution: Moloc commentedPatch commited.