@@ -313,14 +313,14 @@ |
||
| 313 | 313 | * a list of all available entity names with theirs group |
| 314 | 314 | */ |
| 315 | 315 | public function getEntitiesNavBar() { |
| 316 | - foreach ($this->datas as $entity => $data) { |
|
| 316 | + foreach ($this->datas as $entity => $data) { |
|
| 317 | 317 | $navBarGroup = $data->getDefinition()->getNavBarGroup(); |
| 318 | 318 | if ($navBarGroup !== 'main'){ |
| 319 | - $result[$navBarGroup][] = $entity; |
|
| 319 | + $result[$navBarGroup][] = $entity; |
|
| 320 | 320 | }else{ |
| 321 | - $result[$entity] = 'main'; |
|
| 321 | + $result[$entity] = 'main'; |
|
| 322 | + } |
|
| 322 | 323 | } |
| 323 | - } |
|
| 324 | 324 | return $result; |
| 325 | 325 | } |
| 326 | 326 | |
@@ -315,9 +315,9 @@ |
||
| 315 | 315 | public function getEntitiesNavBar() { |
| 316 | 316 | foreach ($this->datas as $entity => $data) { |
| 317 | 317 | $navBarGroup = $data->getDefinition()->getNavBarGroup(); |
| 318 | - if ($navBarGroup !== 'main'){ |
|
| 318 | + if ($navBarGroup !== 'main') { |
|
| 319 | 319 | $result[$navBarGroup][] = $entity; |
| 320 | - }else{ |
|
| 320 | + } else { |
|
| 321 | 321 | $result[$entity] = 'main'; |
| 322 | 322 | } |
| 323 | 323 | } |
@@ -317,7 +317,7 @@ |
||
| 317 | 317 | $navBarGroup = $data->getDefinition()->getNavBarGroup(); |
| 318 | 318 | if ($navBarGroup !== 'main'){ |
| 319 | 319 | $result[$navBarGroup][] = $entity; |
| 320 | - }else{ |
|
| 320 | + } else{ |
|
| 321 | 321 | $result[$entity] = 'main'; |
| 322 | 322 | } |
| 323 | 323 | } |