@@ -10,7 +10,6 @@ |
||
10 | 10 | use Drupal\Core\Config\Entity\ConfigEntityListBuilder; |
11 | 11 | use Drupal\Core\Entity\Query\QueryFactory; |
12 | 12 | use Drupal\Core\Entity\EntityTypeInterface; |
13 | -use Drupal\Core\StringTranslation\TranslatableMarkup; |
|
14 | 13 | use Symfony\Component\DependencyInjection\ContainerInterface; |
15 | 14 | use Drupal\Core\Entity\EntityStorageInterface; |
16 | 15 | use Drupal\Core\Routing\UrlGeneratorInterface; |
@@ -139,8 +139,7 @@ |
||
139 | 139 | $other_image_styles = array_splice($image_styles, 2); |
140 | 140 | if ($other_image_styles) { |
141 | 141 | $usage_message = t('@first, @second and @count more', ['@first' => $usage[0], '@second' => $usage[1], '@count' => count($other_image_styles)]); |
142 | - } |
|
143 | - else { |
|
142 | + } else { |
|
144 | 143 | $usage_message = implode(', ', $usage); |
145 | 144 | } |
146 | 145 | $row['usage']['data']['#markup'] = $usage_message; |