Page 1 of 1

During a code review of a module MyCompany_PaymentCurrencies you see a configuration field declared in the file etc/admi

Posted: Sat Aug 20, 2022 7:54 am
by answerhappygod
During a code review of a module MyCompany_PaymentCurrencies you see a configuration field declared in the file etc/adminhtml/system.xml:

What is the consequence of the attribute showInStore being set to 0?
During A Code R 1
During A Code R 1 (7.23 KiB) Viewed 155 times
A. The field value will not be accessible on the store front by calling ScopeConfigInterface::getValue() with a $scopeType argument of 'store'.
B. The input field will not be visible if a store view scope is selected in the system configuration
C. The input field will only be visible if a website's default store scope is selected in the system configuration
D. The input field will be disabled if a store view scope is selected in the system configuration