function ImageStyleInterface::supportsUri

Same name in other branches
  1. 9 core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::supportsUri()
  2. 8.9.x core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::supportsUri()
  3. 10 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.