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;
|
2017-09-12 11:51:17 +12:00
|
|
|
use SilverStripe\MultiForm\Forms\MultiForm;
|
2017-09-07 11:32:55 +12:00
|
|
|
|
|
|
|
class MultiFormTestForm extends MultiForm implements TestOnly
|
2017-09-07 11:17:54 +12:00
|
|
|
{
|
2017-09-08 14:24:28 +12:00
|
|
|
private static $start_step = MultiFormTestStepOne::class;
|
2017-09-07 11:17:54 +12:00
|
|
|
|
2017-09-07 11:32:55 +12:00
|
|
|
public function getStartStep()
|
|
|
|
{
|
2017-09-08 14:24:28 +12:00
|
|
|
return $this->config()->get('start_step');
|
2017-09-07 11:32:55 +12:00
|
|
|
}
|
2017-09-07 11:17:54 +12:00
|
|
|
}
|