$site->hasImages()
Checks if the Files collection has any images
$site->hasImages(): bool
Return type
bool
Parent class
Example
<?php if($site->hasImages()): ?>
The /content folder contains images.
<?php endif ?>
Checks if the Files collection has any images
$site->hasImages(): bool
bool
<?php if($site->hasImages()): ?>
The /content folder contains images.
<?php endif ?>