Fix nonexistent key id in twig of data collector
This commit is contained in:
parent
d866a5acc4
commit
19c74f3b1d
@ -123,7 +123,9 @@ class FormDataExtractor implements FormDataExtractorInterface
|
||||
*/
|
||||
public function extractViewVariables(FormView $view)
|
||||
{
|
||||
$data = array();
|
||||
$data = array(
|
||||
'id' => $view->vars['id']
|
||||
);
|
||||
|
||||
foreach ($view->vars as $varName => $value) {
|
||||
$data['view_vars'][$varName] = $this->valueExporter->exportValue($value);
|
||||
|
Reference in New Issue
Block a user