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