@@ 371-383 (lines=13) @@ | ||
368 | ||
369 | $fields[$arrayKey][$name] = $field; |
|
370 | ||
371 | if (!empty($config['form_type']) && $config['form_type'] === 'file') { |
|
372 | $field = $this->fieldFactory |
|
373 | ->setColumn($column) |
|
374 | ->setConfig([ |
|
375 | 'name' => $name.'__delete', |
|
376 | 'presentation' => null, |
|
377 | 'form_type' => 'checkbox', |
|
378 | 'no_validate' => true, |
|
379 | 'functions' => null, |
|
380 | ]) |
|
381 | ->get(); |
|
382 | $fields[$arrayKey][$name.'__delete'] = $field; |
|
383 | } |
|
384 | } |
|
385 | } |
|
386 |
@@ 164-177 (lines=14) @@ | ||
161 | ||
162 | $fields[$columnName] = $field; |
|
163 | ||
164 | if (!empty($config['form_type']) && $config['form_type'] === 'file') { |
|
165 | $field = $this->fieldFactory |
|
166 | ->setColumn($column) |
|
167 | ->setConfig([ |
|
168 | 'name' => $columnName.'__delete', |
|
169 | 'presentation' => null, |
|
170 | 'form_type' => 'checkbox', |
|
171 | 'no_validate' => true, |
|
172 | 'validation' => null, |
|
173 | 'functions' => null, |
|
174 | ]) |
|
175 | ->get(); |
|
176 | $fields[$columnName.'__delete'] = $field; |
|
177 | } |
|
178 | } |
|
179 | } |
|
180 |