Legacy.php
35 lines
| 1 | <?php |
| 2 | namespace Give\Views\Form\Templates\Legacy; |
| 3 | |
| 4 | use Give\Form\Template; |
| 5 | |
| 6 | class Legacy extends Template { |
| 7 | /** |
| 8 | * @inheritDoc |
| 9 | */ |
| 10 | public function getID() { |
| 11 | return 'legacy'; |
| 12 | } |
| 13 | |
| 14 | /** |
| 15 | * @inheritDoc |
| 16 | */ |
| 17 | public function getName() { |
| 18 | return __( 'Legacy Donation Form', 'give' ); |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * @inheritDoc |
| 23 | */ |
| 24 | public function getImage() { |
| 25 | return GIVE_PLUGIN_URL . 'assets/dist/images/admin/LegacyForm.jpg'; |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * @inheritDoc |
| 30 | */ |
| 31 | public function getOptionsConfig() { |
| 32 | return require 'optionConfig.php'; |
| 33 | } |
| 34 | } |
| 35 |