diff --git a/core/lib/Drupal/Core/Template/TwigExtension.php b/core/lib/Drupal/Core/Template/TwigExtension.php
index a2b1f59..44b0a2a 100644
--- a/core/lib/Drupal/Core/Template/TwigExtension.php
+++ b/core/lib/Drupal/Core/Template/TwigExtension.php
@@ -215,6 +215,8 @@ public function getUrl($name, $parameters = array(), $options = array()) {
    *
    * @return string
    *   The generated absolute URL for the given path.
+   *
+   * @deprecated in Drupal 8.0.x-dev and will be removed before Drupal 8.0.0.
    */
   public function getUrlFromPath($path, $options = array()) {
     $options['absolute'] = TRUE;
