@@ -8,7 +8,6 @@ |
||
8 | 8 | namespace Drupal\crop\Entity; |
9 | 9 | |
10 | 10 | use Drupal\Core\Config\Entity\ConfigEntityBundleBase; |
11 | -use Drupal\Core\Entity\EntityConstraintViolationList; |
|
12 | 11 | use Drupal\crop\CropTypeInterface; |
13 | 12 | use Symfony\Component\Validator\ConstraintViolationList; |
14 | 13 |
@@ -107,7 +107,7 @@ |
||
107 | 107 | */ |
108 | 108 | public static function getCropTypeNames() { |
109 | 109 | return array_map( |
110 | - function ($bundle_info) { return $bundle_info['label'];}, |
|
110 | + function($bundle_info) { return $bundle_info['label']; }, |
|
111 | 111 | \Drupal::entityManager()->getBundleInfo('crop') |
112 | 112 | ); |
113 | 113 | } |