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.
This is only a placeholder issue right now telling that File entity module will have an API change: constant FILE_DEFAULT_ALLOWED_EXTENSIONS
will be renamed in FILE_ENTITY_DEFAULT_ALLOWED_EXTENSIONS
. This is affecting the Media module.
That change is reviewed in #1227706: Add a file entity access API. See #132.
Will provide a patch as soon as a patch will be committed there.
Comment | File | Size | Author |
---|---|---|---|
#4 | media-file-entity-api-change-1821262-4.patch | 3.11 KB | claudiu.cristea |
Comments
Comment #1
ParisLiakos CreditAttribution: ParisLiakos commentedmarked #1819010: Notice: Use of undefined constant FILE_DEFAULT_ALLOWED_EXTENSIONS as dup
Comment #2
claudiu.cristeaAlso
file_type_get_names()
(invoked also in Media module) is being renamed intofile_entity_type_get_names()
.Comment #3
ParisLiakos CreditAttribution: ParisLiakos commentedgreat, please include that in the patch as well. and you could roll this patch now if you want..i am gonna commit the entity_access patch really soon.
closed #1820302: WSOD: PHP Fatal error: Call to undefined function file_type_get_names() in media/includes/media.fields.inc on line 85 as dup as well
Comment #4
claudiu.cristeaHere's a patch. I'm switching to "postponed" till #1227706: Add a file entity access API otherwise will fail on tests.
Comment #5
ParisLiakos CreditAttribution: ParisLiakos commentedDont worry, our testbot is dead:/
but it is indeed postponed till i commit the other patch.
Comment #6
ParisLiakos CreditAttribution: ParisLiakos commentedthanks for the patch!
commited