|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (AgreementCollectionFactory $agreementCollectionFactory, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig) | |
| getRequiredAgreementIds () | |
Data Fields | |
| const | PATH_ENABLED = 'checkout/options/enable_agreements' |
Protected Attributes | |
| $agreementCollectionFactory | |
| $scopeConfig | |
| $storeManager | |
Provide Agreements stored in db
Definition at line 14 of file AgreementsProvider.php.
| __construct | ( | AgreementCollectionFactory | $agreementCollectionFactory, |
| \Magento\Store\Model\StoreManagerInterface | $storeManager, | ||
| \Magento\Framework\App\Config\ScopeConfigInterface | $scopeConfig | ||
| ) |
| AgreementCollectionFactory | $agreementCollectionFactory | |
| \Magento\Store\Model\StoreManagerInterface | $storeManager | |
| \Magento\Framework\App\Config\ScopeConfigInterface | $scopeConfig | @codeCoverageIgnore |
Definition at line 42 of file AgreementsProvider.php.
| getRequiredAgreementIds | ( | ) |
Get list of required Agreement Ids
Implements AgreementsProviderInterface.
Definition at line 57 of file AgreementsProvider.php.
|
protected |
Definition at line 24 of file AgreementsProvider.php.
|
protected |
Definition at line 29 of file AgreementsProvider.php.
|
protected |
Definition at line 34 of file AgreementsProvider.php.
| const PATH_ENABLED = 'checkout/options/enable_agreements' |
Path to config node
Definition at line 19 of file AgreementsProvider.php.