function AttributeRouteDiscovery::getPriority

Same name and namespace in other branches
  1. main core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php \Drupal\Core\Routing\AttributeRouteDiscovery::getPriority()

Determines the priority of the route build event listener.

Return value

int The priority of the route builder event.

Overrides StaticRouteDiscoveryBase::getPriority

File

core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php, line 32

Class

AttributeRouteDiscovery
Discovers routes using Symfony's Route attribute.

Namespace

Drupal\Core\Routing

Code

protected static function getPriority() : int {
  return 0;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.