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