# give/4.18.0/src/Views/Form/Templates/Legacy/Legacy.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.18.0. 41 lines.

- Page: https://pluginprobe.com/plugins/give/4.18.0/code/src/Views/Form/Templates/Legacy/Legacy.php
- Raw: https://pluginprobe.com/plugins/give/4.18.0/raw/src/Views/Form/Templates/Legacy/Legacy.php
- Modified: 2025-03-31T19:17:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.18.0/code/src/Views/Form/Templates/Legacy/Legacy.php#L10-L20`.

```php
<?php

namespace Give\Views\Form\Templates\Legacy;

use Give\Form\Template;

class Legacy extends Template
{
    /**
     * @inheritDoc
     */
    public function getID()
    {
        return 'legacy';
    }

    /**
     * @inheritDoc
     */
    public function getName()
    {
        return __('Legacy Form', 'give');
    }

    /**
     * @inheritDoc
     */
    public function getImage()
    {
        return GIVE_PLUGIN_URL . 'build/assets/dist/images/admin/template-preview-legacy.png';
    }

    /**
     * @inheritDoc
     */
    public function getOptionsConfig()
    {
        return require 'optionConfig.php';
    }
}

```
