You are here

class NewAliasManager in Drupal 8

New test implementation for the alias manager.

Hierarchy

Expanded class hierarchy of NewAliasManager

1 file declares its use of NewAliasManager
DeprecatedServicesTest.php in core/modules/path_alias/tests/src/Kernel/DeprecatedServicesTest.php

File

core/modules/path_alias/tests/modules/path_alias_deprecated_test/src/NewAliasManager.php, line 10

Namespace

Drupal\path_alias_deprecated_test
View source
class NewAliasManager implements AliasManagerInterface {

  /**
   * {@inheritdoc}
   */
  public function getPathByAlias($alias, $langcode = NULL) {
  }

  /**
   * {@inheritdoc}
   */
  public function getAliasByPath($path, $langcode = NULL) {
  }

  /**
   * {@inheritdoc}
   */
  public function cacheClear($source = NULL) {
  }

}

Members

Namesort descending Modifiers Type Description Overrides
NewAliasManager::cacheClear public function Clear internal caches in alias manager. Overrides AliasManagerInterface::cacheClear
NewAliasManager::getAliasByPath public function Given a path, return the alias. Overrides AliasManagerInterface::getAliasByPath
NewAliasManager::getPathByAlias public function Given the alias, return the path it represents. Overrides AliasManagerInterface::getPathByAlias