public function CropType::getSoftLimit in Crop API 8
Same name and namespace in other branches
- 8.2 src/Entity/CropType.php \Drupal\crop\Entity\CropType::getSoftLimit()
Returns width and height soft limit values.
Return value
array Width and height values.
Overrides CropTypeInterface::getSoftLimit
File
- src/
Entity/ CropType.php, line 142
Class
- CropType
- Defines the Crop type configuration entity.
Namespace
Drupal\crop\EntityCode
public function getSoftLimit() {
return [
'width' => $this->soft_limit_width,
'height' => $this->soft_limit_height,
];
}