public function AutomaticCrop::getCropType in Crop API 8.2
Get the crop type entity.
Return value
\Drupal\crop\Entity\CropType The crop type entity loaded.
File
- src/
Events/ AutomaticCrop.php, line 83
Class
- AutomaticCrop
- Represents automatic crop action as event.
Namespace
Drupal\crop\EventsCode
public function getCropType() {
return $this->cropType;
}