|
@@ 271-277 (lines=7) @@
|
| 268 |
|
], |
| 269 |
|
]; |
| 270 |
|
|
| 271 |
|
foreach ($configuration['actions'] as $name => $actionConfiguration) { |
| 272 |
|
if (key_exists($name, $mapping) && !key_exists('route_requirements', $actionConfiguration)) { |
| 273 |
|
$configuration['actions'][$name]['route_requirements'] = [ |
| 274 |
|
'id' => '\d+', |
| 275 |
|
]; |
| 276 |
|
} |
| 277 |
|
} |
| 278 |
|
} |
| 279 |
|
|
| 280 |
|
private function addDefaultFormUse(array &$configuration) |
|
@@ 309-315 (lines=7) @@
|
| 306 |
|
$menus = $this->configurationFactory->createResourceMenuConfiguration(); |
| 307 |
|
|
| 308 |
|
// Add the resources menu for each action of the admin |
| 309 |
|
foreach ($configuration['actions'] as $name => $action) { |
| 310 |
|
if (key_exists('menus', $action) && key_exists('left', $action)) { |
| 311 |
|
continue; |
| 312 |
|
} |
| 313 |
|
|
| 314 |
|
$configuration['actions'][$name]['menus']['left'] = $menus; |
| 315 |
|
} |
| 316 |
|
} |
| 317 |
|
|
| 318 |
|
/** |