You are here

public function ImageDTO::getEntity in PhotoSwipe 3.x

Get entity.

Return value

\Drupal\Core\Entity\EntityInterface Entity.

File

src/ImageDTO.php, line 157

Class

ImageDTO
Contains image item.

Namespace

Drupal\photoswipe

Code

public function getEntity() {
  return $this->entity;
}