RouteProcessorManager::sortProcessors

protected RouteProcessorManager::sortProcessors()

Sorts the processors according to priority.

File

core/lib/Drupal/Core/RouteProcessor/RouteProcessorManager.php, line 73

Class

RouteProcessorManager
Route processor manager.

Namespace

Drupal\Core\RouteProcessor

Code

protected function sortProcessors() {
  $sorted = array();
  krsort($this->outboundProcessors);

  foreach ($this->outboundProcessors as $processors) {
    $sorted = array_merge($sorted, $processors);
  }
  return $sorted;
}
doc_Drupal
2016-10-29 09:39:14
Comments
Leave a Comment

Please login to continue.