public function AliasManagerCacheDecorator::getPathAlias

Implements \Drupal\Core\Path\AliasManagerInterface::getPathAlias().

Overrides AliasManagerInterface::getPathAlias

File

drupal/core/lib/Drupal/Core/CacheDecorator/AliasManagerCacheDecorator.php, line 107
Contains Drupal\Core\CacheDecorator\AliasManagerCacheDecorator.

Class

AliasManagerCacheDecorator
Class used by the PathSubscriber to get the system path and cache path lookups.

Namespace

Drupal\Core\CacheDecorator

Code

public function getPathAlias($path, $path_language = NULL) {
  return $this->aliasManager
    ->getPathAlias($path, $path_language);
}