Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ImageToolkitInterface.php

function ImageToolkitInterface::isValid

Checks if the image is valid.

Return value

bool TRUE if the image toolkit is currently handling a valid image, FALSE otherwise.

1 method overrides ImageToolkitInterface::isValid()
GDToolkit::isValid in core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
Checks if the image is valid.

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php, line 79

Class

ImageToolkitInterface
Defines an interface for image toolkits.

Namespace

Drupal\Core\ImageToolkit

Code

public function isValid();
RSS feed
Powered by Drupal