silverstripe-multiform/tests/Stubs/MultiFormTestStepTwo.php

20 lines
506 B
PHP
Raw Normal View History

<?php
namespace SilverStripe\MultiForm\Tests\Stubs;
use SilverStripe\Dev\TestOnly;
use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\TextareaField;
use SilverStripe\MultiForm\Models\MultiFormStep;
class MultiFormTestStepTwo extends MultiFormStep implements TestOnly
{
2017-09-08 04:24:28 +02:00
private static $next_steps = MultiFormTestStepThree::class;
public function getFields()
{
return new FieldList(
new TextareaField('Comments', 'Tell us a bit about yourself...')
);
}
}