public function ImageDTO::getAlt in PhotoSwipe 3.x
Get image alt.
Return value
string|null Image alternative text.
File
- src/
ImageDTO.php, line 167
Class
- ImageDTO
- Contains image item.
Namespace
Drupal\photoswipeCode
public function getAlt() {
return $this->alt;
}