Enter a type and click search.




Results for Magento\Braintree\Block\Info

File: vendor/magento/module-braintree/etc/frontend/di.xml

<type name="Magento\Braintree\Block\Info">
    <arguments>
        <argument name="data" xsi:type="array">
            <item xsi:type="string" name="is_secure_mode">
                1
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the frontend area. This is the area that corresponds with the cart sub-application.

This configuration tells the Object Manager that when a user wants a Magento\Braintree\Block\Info object that the following arguments should be used in the foo object's constructor.

  • $data = [...items...];
Results for Magento\Braintree\Block\Info

File: vendor/magento/module-braintree/etc/di.xml

<type name="Magento\Braintree\Block\Info">
    <arguments>
        <argument name="config" xsi:type="object">
            Magento\Braintree\Gateway\Config\Config
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Magento\Braintree\Block\Info object that the following arguments should be used in the foo object's constructor.

File: vendor/magento/module-braintree/etc/di.xml

<virtualType name="BraintreeFacade"
             type="Magento\Payment\Model\Method\Adapter">
    <arguments>
        <argument name="code" xsi:type="const">
            Magento\Braintree\Model\Ui\ConfigProvider::CODE
        </argument>
        <argument name="formBlockType" xsi:type="string">
            Magento\Braintree\Block\Form
        </argument>
        <argument name="infoBlockType" xsi:type="string">
            Magento\Braintree\Block\Info
        </argument>
        <argument name="valueHandlerPool" xsi:type="object">
            BraintreeValueHandlerPool
        </argument>
        <argument name="validatorPool" xsi:type="object">
            BraintreeValidatorPool
        </argument>
        <argument name="commandPool" xsi:type="object">
            BraintreeCommandPool
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual BraintreeFacade object that it should return a Magento\Payment\Model\Method\Adapter object.

This configuration tells the Object Manager that when a user wants a BraintreeFacade object that the following arguments should be used in the foo object's constructor.

File: vendor/magento/module-braintree/etc/di.xml

<virtualType name="BraintreePayPalInfo"
             type="Magento\Braintree\Block\Info">
    <arguments>
        <argument name="config" xsi:type="object">
            Magento\Braintree\Gateway\Config\PayPal\Config
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual BraintreePayPalInfo object that it should return a Magento\Braintree\Block\Info object.

This configuration tells the Object Manager that when a user wants a BraintreePayPalInfo object that the following arguments should be used in the foo object's constructor.

Results for Magento\Braintree\Block\Info

File: vendor/magento/module-braintree/etc/adminhtml/di.xml

<type name="Magento\Braintree\Block\Info">
    <arguments>
        <argument name="data" xsi:type="array">
            <item xsi:type="string" name="is_secure_mode">
                0
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the adminhtml area. This is the area that corresponds with the Magento admin sub-application.

This configuration tells the Object Manager that when a user wants a Magento\Braintree\Block\Info object that the following arguments should be used in the foo object's constructor.

  • $data = [...items...];