public function ImageStyleInterface::supportsUri in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::supportsUri()
- 9 core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::supportsUri()
Determines if this style can be applied to a given image.
Parameters
string $uri: The URI of the image.
Return value
bool TRUE if the image is supported, FALSE otherwise.
1 method overrides ImageStyleInterface::supportsUri()
- ImageStyle::supportsUri in core/
modules/ image/ src/ Entity/ ImageStyle.php - Determines if this style can be applied to a given image.
File
- core/
modules/ image/ src/ ImageStyleInterface.php, line 191
Class
- ImageStyleInterface
- Provides an interface defining an image style entity.
Namespace
Drupal\imageCode
public function supportsUri($uri);