You are here

private function EckRoutes::getBundleRouteRequirements in Entity Construction Kit (ECK) 8

Retrieves the bundle route requirements.

Return value

array The bundle route requirements.

2 calls to EckRoutes::getBundleRouteRequirements()
EckRoutes::createBundleCrudRoute in src/Routing/EckRoutes.php
Creates a bundle crud route.
EckRoutes::createBundleListRoute in src/Routing/EckRoutes.php
Creates the bundle listing route.

File

src/Routing/EckRoutes.php, line 90

Class

EckRoutes
Defines dynamic routes.

Namespace

Drupal\eck\Routing

Code

private function getBundleRouteRequirements() {
  return [
    '_permission' => 'administer eck entity bundles',
  ];
}