Under which section should the soft dependency for a module be listed in app/code/<Vendor>/<Module>/composer.json file?

Under which section should the soft dependency for a module be listed in app/code/<Vendor>/<Module>/composer.json file?
A . suggest*: {
B. }
optional": {
C. }
soft": {
D. }

Answer: A

Explanation:

In the composer.json file, soft dependencies (those that are not required for a module to function but might enhance or alter its behavior if present) are typically listed under the suggest section.

This is the correct section in composer.json to list soft dependencies. Packages listed here suggest that they complement the main package, but they are not strictly required.

Latest AD0-E717 Dumps Valid Version with 77 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments