TwoPanelStepsFormLayout.php
38 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\DonationForms\FormDesigns\TwoPanelStepsFormLayout; |
| 4 | |
| 5 | use Give\Framework\FormDesigns\FormDesign; |
| 6 | |
| 7 | /** |
| 8 | * @since 3.6.0 |
| 9 | */ |
| 10 | class TwoPanelStepsFormLayout extends FormDesign |
| 11 | { |
| 12 | protected $isMultiStep = true; |
| 13 | |
| 14 | /** |
| 15 | * @since 3.6.0 |
| 16 | */ |
| 17 | public static function id(): string |
| 18 | { |
| 19 | return 'two-panel-steps'; |
| 20 | } |
| 21 | |
| 22 | /** |
| 23 | * @since 3.6.0 |
| 24 | */ |
| 25 | public static function name(): string |
| 26 | { |
| 27 | return __('Two Panel', 'give'); |
| 28 | } |
| 29 | |
| 30 | /** |
| 31 | * @since 3.6.0 |
| 32 | */ |
| 33 | public function css(): string |
| 34 | { |
| 35 | return GIVE_PLUGIN_URL . 'build/twoPanelStepsFormLayoutCss.css'; |
| 36 | } |
| 37 | } |
| 38 |