You are here

function FileStyles::getImageUri in Styles 7.2

1 call to FileStyles::getImageUri()
FileStyles::thumbnail in contrib/file_styles/includes/styles/FileStyles.inc

File

contrib/file_styles/includes/styles/FileStyles.inc, line 118
styles/contrib/file_styles/includes/styles/FileStyles.inc Styles definitions for file styles.

Class

FileStyles
@file styles/contrib/file_styles/includes/styles/FileStyles.inc Styles definitions for file styles.

Code

function getImageUri() {
  if ($imageUri = $this
    ->get('imageUri')) {
    return $imageUri;
  }
  return $this
    ->getUri();
}