You are here

public function ImageInterface::isValid in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Image/ImageInterface.php \Drupal\Core\Image\ImageInterface::isValid()

Checks if the image is valid.

Return value

bool TRUE if the image object contains a valid image, FALSE otherwise.

1 method overrides ImageInterface::isValid()
Image::isValid in core/lib/Drupal/Core/Image/Image.php
Checks if the image is valid.

File

core/lib/Drupal/Core/Image/ImageInterface.php, line 21
Contains \Drupal\Core\Image\ImageInterface.

Class

ImageInterface
Provides an interface for image objects.

Namespace

Drupal\Core\Image

Code

public function isValid();