You are here

public function FetchManagerInterface::styleOriginalPath in Stage File Proxy 8

Helper to retrieves original path for a styled image.

Parameters

string $uri: A uri or path (may be prefixed with scheme).

bool $style_only: Indicates if, the function should only return paths retrieved from style paths. Defaults to TRUE.

Return value

bool|mixed|string A file URI pointing to the given original image. If $style_only is set to TRUE and $uri is no style-path, FALSE is returned.

1 method overrides FetchManagerInterface::styleOriginalPath()
FetchManager::styleOriginalPath in src/FetchManager.php
Helper to retrieves original path for a styled image.

File

src/FetchManagerInterface.php, line 65

Class

FetchManagerInterface
Interface for FetchManager.

Namespace

Drupal\stage_file_proxy

Code

public function styleOriginalPath($uri, $style_only = TRUE);