2017-09-07 11:17:54 +12:00
|
|
|
<?php
|
|
|
|
|
2017-09-08 15:59:53 +12:00
|
|
|
namespace SilverStripe\MultiForm\Tests\Stubs;
|
2017-09-07 11:17:54 +12:00
|
|
|
|
2017-09-07 11:32:55 +12:00
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
use SilverStripe\Forms\FieldList;
|
|
|
|
use SilverStripe\Forms\TextField;
|
|
|
|
use SilverStripe\MultiForm\Models\MultiFormStep;
|
|
|
|
|
|
|
|
class MultiFormTestStepThree extends MultiFormStep implements TestOnly
|
2017-09-07 11:17:54 +12:00
|
|
|
{
|
2017-09-08 14:24:28 +12:00
|
|
|
private static $is_final_step = true;
|
2017-09-07 11:17:54 +12:00
|
|
|
|
2017-09-07 11:32:55 +12:00
|
|
|
public function getFields()
|
|
|
|
{
|
|
|
|
return FieldList::create(
|
|
|
|
new TextField('Test', 'Anything else you\'d like to tell us?')
|
|
|
|
);
|
|
|
|
}
|
2017-09-07 11:17:54 +12:00
|
|
|
}
|