silverstripe-multiform/tests/Stubs/MultiFormTestStepThree.php

25 lines
529 B
PHP
Raw Normal View History

2017-09-07 01:17:54 +02:00
<?php
namespace SilverStripe\MultiForm\Tests;
2017-09-07 01:17:54 +02:00
use SilverStripe\Dev\TestOnly;
use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\TextField;
use SilverStripe\MultiForm\Models\MultiFormStep;
/**
* @package multiform
* @subpackage tests
*/
class MultiFormTestStepThree extends MultiFormStep implements TestOnly
2017-09-07 01:17:54 +02:00
{
public static $is_final_step = true;
2017-09-07 01:17:54 +02:00
public function getFields()
{
return FieldList::create(
new TextField('Test', 'Anything else you\'d like to tell us?')
);
}
2017-09-07 01:17:54 +02:00
}