Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
payment_section_structure_variations.php File Reference

Go to the source code of this file.

Variables

 return [['empty structure', []], ['structure with special groups at the begin of the list', ['account'=> ['id'=> 'account',], 'recommended_solutions'=> ['id'=> 'recommended_solutions',], 'other_paypal_payment_solutions'=> ['id'=> 'other_paypal_payment_solutions',], 'other_payment_methods'=> ['id'=> 'other_payment_methods',], 'some_payment_method'=> ['id'=> 'some_payment_method',],]], ['structure with special groups at the end of the list', ['some_payment_method'=> ['id'=> 'some_payment_method',], 'account'=> ['id'=> 'account',], 'recommended_solutions'=> ['id'=> 'recommended_solutions',], 'other_paypal_payment_solutions'=> ['id'=> 'other_paypal_payment_solutions',], 'other_payment_methods'=> ['id'=> 'other_payment_methods',],]], ['structure with special groups in the middle of the list', ['some_payment_methodq'=> ['id'=> 'some_payment_methodq',], 'account'=> ['id'=> 'account',], 'recommended_solutions'=> ['id'=> 'recommended_solutions',], 'other_paypal_payment_solutions'=> ['id'=> 'other_paypal_payment_solutions',], 'other_payment_methods'=> ['id'=> 'other_payment_methods',], 'some_payment_method2'=> ['id'=> 'some_payment_method2',],]], ['structure with all assigned groups', ['some_payment_method1'=> ['id'=> 'some_payment_method1', 'displayIn'=> 'other_paypal_payment_solutions',], 'some_payment_method2'=> ['id'=> 'some_payment_method2', 'displayIn'=> 'recommended_solutions',],]], ['structure with not assigned groups', ['some_payment_method1'=> ['id'=> 'some_payment_method1', 'displayIn'=> 'other_paypal_payment_solutions',], 'some_payment_method2'=> ['id'=> 'some_payment_method2',],]], ['special groups has predefined children', ['recommended_solutions'=> ['id'=> 'recommended_solutions', 'children'=> ['some_payment_method1'=> ['id'=> 'some_payment_method1',],]], 'some_payment_method2'=> ['id'=> 'some_payment_method2', 'displayIn'=> 'recommended_solutions',],]], ['structure with displayIn that do not reference to special groups', ['some_payment_method1'=> ['id'=> 'some_payment_method1',], 'some_payment_method2'=> ['id'=> 'some_payment_method2', 'displayIn'=> 'some_payment_method1',],]],]
 

Variable Documentation

◆ return

return[ [ 'empty structure', []], [ 'structure with special groups at the begin of the list', [ 'account'=> [ 'id'=> 'account',], 'recommended_solutions'=> [ 'id'=> 'recommended_solutions',], 'other_paypal_payment_solutions'=> [ 'id'=> 'other_paypal_payment_solutions',], 'other_payment_methods'=> [ 'id'=> 'other_payment_methods',], 'some_payment_method'=> [ 'id'=> 'some_payment_method',],]], [ 'structure with special groups at the end of the list', [ 'some_payment_method'=> [ 'id'=> 'some_payment_method',], 'account'=> [ 'id'=> 'account',], 'recommended_solutions'=> [ 'id'=> 'recommended_solutions',], 'other_paypal_payment_solutions'=> [ 'id'=> 'other_paypal_payment_solutions',], 'other_payment_methods'=> [ 'id'=> 'other_payment_methods',],]], [ 'structure with special groups in the middle of the list', [ 'some_payment_methodq'=> [ 'id'=> 'some_payment_methodq',], 'account'=> [ 'id'=> 'account',], 'recommended_solutions'=> [ 'id'=> 'recommended_solutions',], 'other_paypal_payment_solutions'=> [ 'id'=> 'other_paypal_payment_solutions',], 'other_payment_methods'=> [ 'id'=> 'other_payment_methods',], 'some_payment_method2'=> [ 'id'=> 'some_payment_method2',],]], [ 'structure with all assigned groups', [ 'some_payment_method1'=> [ 'id'=> 'some_payment_method1', 'displayIn'=> 'other_paypal_payment_solutions',], 'some_payment_method2'=> [ 'id'=> 'some_payment_method2', 'displayIn'=> 'recommended_solutions',],]], [ 'structure with not assigned groups', [ 'some_payment_method1'=> [ 'id'=> 'some_payment_method1', 'displayIn'=> 'other_paypal_payment_solutions',], 'some_payment_method2'=> [ 'id'=> 'some_payment_method2',],]], [ 'special groups has predefined children', [ 'recommended_solutions'=> [ 'id'=> 'recommended_solutions', 'children'=> [ 'some_payment_method1'=> [ 'id'=> 'some_payment_method1',],]], 'some_payment_method2'=> [ 'id'=> 'some_payment_method2', 'displayIn'=> 'recommended_solutions',],]], [ 'structure with displayIn that do not reference to special groups', [ 'some_payment_method1'=> [ 'id'=> 'some_payment_method1',], 'some_payment_method2'=> [ 'id'=> 'some_payment_method2', 'displayIn'=> 'some_payment_method1',],]],]

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 129 of file payment_section_structure_variations.php.