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
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?
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
What is the consequence of the attribute showInStore being set to 0?
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