events.xml (1067B)
1 <?xml version="1.0"?> 2 <!-- 3 /** 4 * 5 * This file is part of TALER 6 * Copyright (C) 2024 Taler Systems SA 7 * 8 * TALER is free software; you can redistribute it and/or modify it under the 9 * terms of the GNU General Public License as published by the Free Software 10 * Foundation; either version 3, or (at your option) any later version. 11 * 12 * TALER is distributed in the hope that it will be useful, but WITHOUT ANY 13 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 14 * A PARTICULAR PURPOSE. See the GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License along with 17 * TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> 18 * 19 * @author Nicola Eigel 20 */ 21 --> 22 <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd"> 23 <event name="payment_method_is_active"> 24 <observer name="gnu_taler_payment_method_is_active" instance="GNU\Taler\Observer\DataAssignObserver" /> 25 </event> 26 </config>