projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
modules
/
image
/
src
/
ImageStyleInterface.php
diff --git
a/web/core/modules/image/src/ImageStyleInterface.php
b/web/core/modules/image/src/ImageStyleInterface.php
index 89fd060a2897c6a02fdb89d439d7a65904e22679..7dec361075534744ef3629810b0dd85e979aa678 100644
(file)
--- a/
web/core/modules/image/src/ImageStyleInterface.php
+++ b/
web/core/modules/image/src/ImageStyleInterface.php
@@
-194,4
+194,15
@@
interface ImageStyleInterface extends ConfigEntityInterface {
*/
public function deleteImageEffect(ImageEffectInterface $effect);
*/
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);
+
}
}