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