You are here

public function ImageDTO::setDimensions in PhotoSwipe 3.x

Image dimensions.

Parameters

array $dimensions: Dimentions.

File

src/ImageDTO.php, line 217

Class

ImageDTO
Contains image item.

Namespace

Drupal\photoswipe

Code

public function setDimensions(array $dimensions) {
  $this->dimensions = $dimensions;
}