Closed (fixed)
Project:
Danland
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Anonymous (not verified)
Created:
22 Sep 2021 at 11:10 UTC
Updated:
10 Aug 2026 at 11:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedBmuskan created an issue. See original summary.
Comment #2
larisse commentedHello @Bmuskan! What Drupal version are you using?
Comment #3
Anonymous (not verified) commentedI am using drupal 8.7.3.
Comment #4
larisse commentedI created this patch, but I think that it don't need to be commited.
scanDirectoryfunction exists only in drupal 8.8.x versions. (https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21File%21Fi...)In versions less than this, we need to use
file_scan_directoryfunction.Maybe is necessary update info.yml file to required core_version_requirement: ^8.8.
Comment #5
Anonymous (not verified) commentedYes, the above patch is the worked for me. Thank you
Comment #6
larisse commentedChanging to RTBC because #5...
Comment #7
jcnventuraThe solution in this patch reverts the needed Drupal 9 readiness fix.
The right solution is to set core_version_requirement to ^8.8.
Comment #9
jcnventura