32 lines
561 B
PHP
32 lines
561 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Form;
|
||
|
|
||
|
use Craue\FormFlowBundle\Form\FormFlow;
|
||
|
|
||
|
class CreateSurveyFlow extends FormFlow
|
||
|
{
|
||
|
protected $allowDynamicStepNavigation = false;
|
||
|
|
||
|
protected function loadStepsConfig() {
|
||
|
return [
|
||
|
[
|
||
|
'label' => 'Informations',
|
||
|
'form_type' => SurveyheaderType::class,
|
||
|
],
|
||
|
[
|
||
|
'label' => 'Options',
|
||
|
'form_type' => SurveyoptionsType::class,
|
||
|
],
|
||
|
[
|
||
|
'label' => 'Invités',
|
||
|
'form_type' => SurveyguestsType::class,
|
||
|
],
|
||
|
[
|
||
|
'label' => 'Confirmation',
|
||
|
'form_type' => SurveyheaderType::class,
|
||
|
],
|
||
|
];
|
||
|
}
|
||
|
}
|