2017-09-07 01:17:54 +02:00
|
|
|
<?php
|
|
|
|
|
2017-09-07 01:32:55 +02:00
|
|
|
namespace SilverStripe\MultiForm\Tests;
|
2017-09-07 01:17:54 +02:00
|
|
|
|
2017-09-07 01:32:55 +02:00
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
use SilverStripe\MultiForm\Models\MultiForm;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @package multiform
|
|
|
|
* @subpackage tests
|
|
|
|
*/
|
|
|
|
class MultiFormTestForm extends MultiForm implements TestOnly
|
2017-09-07 01:17:54 +02:00
|
|
|
{
|
2017-09-08 04:24:28 +02:00
|
|
|
private static $start_step = MultiFormTestStepOne::class;
|
2017-09-07 01:17:54 +02:00
|
|
|
|
2017-09-07 01:32:55 +02:00
|
|
|
public function getStartStep()
|
|
|
|
{
|
2017-09-08 04:24:28 +02:00
|
|
|
return $this->config()->get('start_step');
|
2017-09-07 01:32:55 +02:00
|
|
|
}
|
2017-09-07 01:17:54 +02:00
|
|
|
}
|