This commit is contained in:
2026-09-15 10:26:34 +08:00
commit ecf36afa56
10493 changed files with 1404888 additions and 0 deletions
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\Customer\CustomerData\SectionPoolInterface">
<arguments>
<argument name="sectionSourceMap" xsi:type="array">
<item name="customer" xsi:type="string">Stemcell\Customer\CustomerData\Customer</item>
</argument>
</arguments>
</type>
</config>
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
<event name="controller_action_predispatch_commerce_customer_sms_send">
<observer name="user_create_sms_sender" instance="Stemcell\Customer\Observer\CheckRegisterSmsObserver" />
</event>
<event name="controller_action_predispatch_customer_account_createpost">
<observer name="customer_account_createpost_sms_validation" instance="Stemcell\Customer\Observer\Customer\Register\SmsValidation" />
</event>
<event name="controller_action_predispatch_commerce_customer_account_resetpasswordpost">
<observer name="customer_account_resetpasswordpost" instance="Stemcell\Customer\Observer\Customer\Register\SmsValidation" />
</event>
</config>
@@ -0,0 +1,14 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="standard">
<route id="commerce_customer" frontName="commerce_customer">
<module name="Stemcell_Customer" />
</route>
</router>
</config>