public function PhotosImageInterface::setFormat in Album Photos 6.0.x
Same name and namespace in other branches
- 8.5 src/PhotosImageInterface.php \Drupal\photos\PhotosImageInterface::setFormat()
Sets the text format name for the image description.
Parameters
string $format: The text format name.
Return value
$this The called image entity.
1 method overrides PhotosImageInterface::setFormat()
- PhotosImage::setFormat in src/
Entity/ PhotosImage.php - Sets the text format name for the image description.
File
- src/
PhotosImageInterface.php, line 89
Class
- PhotosImageInterface
- Provides an interface defining a photos image entity.
Namespace
Drupal\photosCode
public function setFormat($format);