You are here

public function CropType::getAspectRatio in Crop API 8.2

Same name and namespace in other branches
  1. 8 src/Entity/CropType.php \Drupal\crop\Entity\CropType::getAspectRatio()

Get aspect ratio of this crop type.

Return value

string|null The aspect ratio of this crop type.

Overrides CropTypeInterface::getAspectRatio

File

src/Entity/CropType.php, line 118

Class

CropType
Defines the Crop type configuration entity.

Namespace

Drupal\crop\Entity

Code

public function getAspectRatio() {
  return $this->aspect_ratio;
}