core/modules/file/src/Entity/File.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/modules/file/src/Entity/File.php b/core/modules/file/src/Entity/File.php index 2d1dc57..b7d09d4 100644 --- a/core/modules/file/src/Entity/File.php +++ b/core/modules/file/src/Entity/File.php @@ -81,7 +81,7 @@ public function setFileUri($uri) { public function url($rel = 'canonical', $options = []) { // @todo Remove this work-around before Drupal 9.0.0. This was introduced as // a temporary work-around in https://www.drupal.org/node/2277705 to provide - // REST support for file entities. https://www.drupal.org/node/2825487 makes + // REST support for file entities. https://www.drupal.org/node/2825487 made // this obsolete. return file_create_url($this->getFileUri()); } @@ -92,7 +92,7 @@ public function url($rel = 'canonical', $options = []) { public function toUrl($rel = 'canonical', array $options = []) { // To not break BC, the old behavior is retained for 'canonical'. // @see ::url() - // @todo Remove in https://www.drupal.org/node/2825487. + // @todo Remove in Drupoal 9.0.0. if ($rel === 'canonical') { return Url::fromUri($this->url()); } @@ -105,7 +105,7 @@ public function toUrl($rel = 'canonical', array $options = []) { public function hasLinkTemplate($rel) { // To not break BC, the old behavior is retained for 'canonical'. // @see ::url() - // @todo Remove in https://www.drupal.org/node/2825487. + // @todo Remove in Drupoal 9.0.0. if ($rel === 'canonical') { return TRUE; }