|
@@ -65,7 +65,7 @@ discard block |
|
|
block discarded – undo |
|
65
|
65
|
$definitions = $this->entityManager->getDefinitions(); |
|
66
|
66
|
$entity_types = array_combine( |
|
67
|
67
|
array_keys($definitions), |
|
68
|
|
- array_map(function (EntityTypeInterface $item) { return $item->getLabel(); }, $definitions) |
|
|
68
|
+ array_map(function(EntityTypeInterface $item) { return $item->getLabel(); }, $definitions) |
|
69
|
69
|
); |
|
70
|
70
|
|
|
71
|
71
|
$form['entity_type'] = [ |
|
@@ -82,7 +82,7 @@ discard block |
|
|
block discarded – undo |
|
82
|
82
|
$bundles = []; |
|
83
|
83
|
if ($entity_type) { |
|
84
|
84
|
$definitions = $this->entityManager->getBundleInfo($entity_type); |
|
85
|
|
- $bundles = array_map(function ($item) { return $item['label']; }, $definitions); |
|
|
85
|
+ $bundles = array_map(function($item) { return $item['label']; }, $definitions); |
|
86
|
86
|
} |
|
87
|
87
|
|
|
88
|
88
|
$form['bundle'] = [ |
Please login to merge, or discard this patch.