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