private function EckRoutes::createEditBundleRoute in Entity Construction Kit (ECK) 8
Creates the edit bundle route.
Parameters
string $entityTypeId: The entity type id.
string $entityTypeLabel: The entity type label.
Return value
\Symfony\Component\Routing\Route The edit bundle route.
1 call to EckRoutes::createEditBundleRoute()
- EckRoutes::routes in src/
Routing/ EckRoutes.php
File
- src/
Routing/ EckRoutes.php, line 145
Class
- EckRoutes
- Defines dynamic routes.
Namespace
Drupal\eck\RoutingCode
private function createEditBundleRoute($entityTypeId, $entityTypeLabel) {
$path = "admin/structure/eck/{$entityTypeId}/bundles/{{$entityTypeId}_type}";
return $this
->createBundleCrudRoute($entityTypeId, $entityTypeLabel, $path, "edit");
}