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

Breadcrumb

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

function ImageToolkitInterface::getHeight

Returns the height of the image.

Return value

int|null The height of the image, or NULL if the image is invalid.

1 method overrides ImageToolkitInterface::getHeight()
GDToolkit::getHeight in core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
Returns the height of the image.

File

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

Class

ImageToolkitInterface
Defines an interface for image toolkits.

Namespace

Drupal\Core\ImageToolkit

Code

public function getHeight();
RSS feed
Powered by Drupal