You are here

public function TestToolkit::getHeight in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php \Drupal\image_test\Plugin\ImageToolkit\TestToolkit::getHeight()

Returns the height of the image.

Return value

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

Overrides ImageToolkitInterface::getHeight

File

core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php, line 195
Contains \Drupal\image_test\Plugin\ImageToolkit\TestToolkit.

Class

TestToolkit
Defines a Test toolkit for image manipulation within Drupal.

Namespace

Drupal\image_test\Plugin\ImageToolkit

Code

public function getHeight() {
  return $this->height;
}