@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | |
228 | 228 | $delta = 0; |
229 | 229 | |
230 | - $order_class = $field_machine_name . '-delta-order'; |
|
230 | + $order_class = $field_machine_name.'-delta-order'; |
|
231 | 231 | |
232 | 232 | $current = [ |
233 | 233 | '#type' => 'table', |
@@ -361,7 +361,7 @@ discard block |
||
361 | 361 | 'wrapper' => $details_id, |
362 | 362 | ], |
363 | 363 | '#submit' => [[get_class($this), 'removeItemSubmit']], |
364 | - '#name' => $field_machine_name . '_remove_' . $entity_id, |
|
364 | + '#name' => $field_machine_name.'_remove_'.$entity_id, |
|
365 | 365 | '#limit_validation_errors' => [], |
366 | 366 | '#attributes' => ['data-entity-id' => $entity_id], |
367 | 367 | '#access' => (bool) $widget_settings['field_widget_remove'], |
@@ -416,7 +416,7 @@ discard block |
||
416 | 416 | } |
417 | 417 | |
418 | 418 | // Return ourself as the structure doesn't match the default. |
419 | - usort($return, function ($a, $b) { |
|
419 | + usort($return, function($a, $b) { |
|
420 | 420 | return SortArray::sortByKeyInt($a, $b, '_weight'); |
421 | 421 | }); |
422 | 422 | |
@@ -476,7 +476,7 @@ discard block |
||
476 | 476 | $data['validators']['file'] = ['validators' => $this->getFileValidators()]; |
477 | 477 | // Provide context for widgets to enhance their configuration. Currently |
478 | 478 | // we only know that "upload_location" is used. |
479 | - $data['widget_context']['upload_location'] = $settings['uri_scheme'] . '://' . $settings['file_directory']; |
|
479 | + $data['widget_context']['upload_location'] = $settings['uri_scheme'].'://'.$settings['file_directory']; |
|
480 | 480 | return $data; |
481 | 481 | } |
482 | 482 |