Skip to content
Snippets Groups Projects
Commit c85075b6 authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-5954: fixing service interface to match service

parent d58773d4
No related branches found
No related tags found
1 merge request!358ISTWCMS-5954: add fieldable path
...@@ -34,11 +34,13 @@ interface UWServiceInterface { ...@@ -34,11 +34,13 @@ interface UWServiceInterface {
* Image entity or null. * Image entity or null.
* @param string $image_style * @param string $image_style
* Image style to be used for responsive image. * Image style to be used for responsive image.
* @param bool $absolute_url
* Flag to make the urls absolute.
* *
* @return array * @return array
* Array with details for responsive image. * 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. * Get the UW images styles used in UW responsive image.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment