From c85075b6a0454ee816980d255e66e6eb77656f6c Mon Sep 17 00:00:00 2001
From: Eric Bremner <ebremner@uwaterloo.ca>
Date: Fri, 23 Dec 2022 09:33:55 -0500
Subject: [PATCH] ISTWCMS-5954: fixing service interface to match service

---
 src/Service/UWServiceInterface.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/Service/UWServiceInterface.php b/src/Service/UWServiceInterface.php
index 6c504902..0bda8368 100644
--- a/src/Service/UWServiceInterface.php
+++ b/src/Service/UWServiceInterface.php
@@ -34,11 +34,13 @@ interface UWServiceInterface {
    *   Image entity or null.
    * @param string $image_style
    *   Image style to be used for responsive image.
+   * @param bool $absolute_url
+   *   Flag to make the urls absolute.
    *
    * @return array
    *   Array with details for responsive image.
    */
-  public function prepareResponsiveImage(?EntityInterface $entity, string $image_style): array;
+  public function prepareResponsiveImage(?EntityInterface $entity, string $image_style, bool $absolute_url = FALSE): array;
 
   /**
    * Get the UW images styles used in UW responsive image.
-- 
GitLab