<?php namespace Drupal\uw_cfg_common\Service; use Drupal\Core\Entity\EntityInterface; interface UWServiceInterface { /** * Prepares responsive image. * * @param \Drupal\Core\Entity\EntityInterface $entity * Image entity. * @param string $image_style * Image style to be used for responsive image. * * @return array * Array with details for responsive image. */ public function prepareResponsiveImage(EntityInterface $entity, string $image_style): array; }