optionConfig.php
31 lines
| 1 | <?php |
| 2 | |
| 3 | use Give\Form\Template\Options; |
| 4 | |
| 5 | $price_placeholder = give_format_decimal( '1.00', false, false ); |
| 6 | |
| 7 | return [ |
| 8 | 'display_settings' => [ |
| 9 | 'name' => __( 'Form Display', 'give' ), |
| 10 | 'desc' => __( 'Step description will show up here if any', 'give' ), |
| 11 | 'fields' => [ |
| 12 | Options::getDonationLevelsDisplayStyleField(), |
| 13 | Options::getDisplayOptionsField( |
| 14 | [ |
| 15 | 'modal' => __( 'Modal', 'give' ), |
| 16 | 'reveal' => __( |
| 17 | 'Reveal', |
| 18 | 'give' |
| 19 | ), |
| 20 | ] |
| 21 | ), |
| 22 | Options::getContinueToDonationFormField(), |
| 23 | Options::getCheckoutLabelField(), |
| 24 | Options::getFloatLabelsField(), |
| 25 | Options::getDisplayContentField(), |
| 26 | Options::getContentPlacementField(), |
| 27 | Options::getFormContentField(), |
| 28 | ], |
| 29 | ], |
| 30 | ]; |
| 31 |