You are here

public function ImageStyleInterface::supportsUri in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::supportsUri()
  2. 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\image

Code

public function supportsUri($uri);