ImageStyleInterface::buildUri

public ImageStyleInterface::buildUri($uri)

Returns the URI of this image when using this style.

The path returned by this function may not exist. The default generation method only creates images when they are requested by a user's browser. Modules may implement this method to decide where to place derivatives.

Parameters

string $uri: The URI or path to the original image.

Return value

string The URI to the image derivative for this style.

File

core/modules/image/src/ImageStyleInterface.php, line 59

Class

ImageStyleInterface
Provides an interface defining an image style entity.

Namespace

Drupal\image

Code

public function buildUri($uri);
doc_Drupal
2016-10-29 09:19:55
Comments
Leave a Comment

Please login to continue.