Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / image / src / ImageStyleInterface.php
index 89fd060a2897c6a02fdb89d439d7a65904e22679..7dec361075534744ef3629810b0dd85e979aa678 100644 (file)
@@ -194,4 +194,15 @@ interface ImageStyleInterface extends ConfigEntityInterface {
    */
   public function deleteImageEffect(ImageEffectInterface $effect);
 
+  /**
+   * Determines if this style can be applied to a given image.
+   *
+   * @param string $uri
+   *   The URI of the image.
+   *
+   * @return bool
+   *   TRUE if the image is supported, FALSE otherwise.
+   */
+  public function supportsUri($uri);
+
 }