function AliasManager::getRequestTime
Same name in other branches
- 9 core/modules/path_alias/src/AliasManager.php \Drupal\path_alias\AliasManager::getRequestTime()
- 8.9.x core/lib/Drupal/Core/Path/AliasManager.php \Drupal\Core\Path\AliasManager::getRequestTime()
Wrapper method for REQUEST_TIME constant.
Return value
int
Deprecated
in drupal:10.3.0 and is removed from drupal:11.0.0. Use the $this->time->getRequestTime() service instead.
See also
https://www.drupal.org/node/3387233
File
-
core/
modules/ path_alias/ src/ AliasManager.php, line 313
Class
- AliasManager
- The default alias manager implementation.
Namespace
Drupal\path_aliasCode
protected function getRequestTime() {
@trigger_error(__METHOD__ . '() is deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. Use the $this->time->getRequestTime() instead. See https://www.drupal.org/node/3387233', E_USER_DEPRECATED);
return $this->time
->getRequestTime();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.