RouteProviderLazyBuilder::getRoutesCount

public RouteProviderLazyBuilder::getRoutesCount()

Determines the total amount of routes.

Return value

int

Overrides PagedRouteProviderInterface::getRoutesCount

File

core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php, line 121

Class

RouteProviderLazyBuilder
A Route Provider front-end for all Drupal-stored routes.

Namespace

Drupal\Core\Routing

Code

public function getRoutesCount() {
  return $this->getRouteProvider()->getRoutesCount();
}
doc_Drupal
2016-10-29 09:39:22
Comments
Leave a Comment

Please login to continue.