Closed (fixed)
Project:
Lazy-load
Version:
8.x-3.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
18 Feb 2020 at 16:47 UTC
Updated:
3 Mar 2020 at 20:59 UTC
Jump to comment: Most recent
If lazy is already enabled on a Drupal instance < v8.8 throws an error for the changed API method.
Comments
Comment #3
agoradesign commentedas soon as you depend on 8.8 (or even 8.7.7), you can drop the "core: 8.x" line from info.yml, the core_version_requirement is enough. It makes only sense to keep that line, if a module wants to keep compatibility with older versions
Comment #4
osmanThanks @agoradesign, for pointing that out.
For others landing on this page and want to learn more on the topic:
https://www.drupal.org/docs/8/creating-custom-modules/let-drupal-8-know-...