public function CropType::getAspectRatio in Crop API 8
Same name and namespace in other branches
- 8.2 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 108
Class
- CropType
- Defines the Crop type configuration entity.
Namespace
Drupal\crop\EntityCode
public function getAspectRatio() {
return $this->aspect_ratio;
}