public static function CropTypeInterface::getCropTypeNames in Crop API 8.2
Same name and namespace in other branches
- 8 src/CropTypeInterface.php \Drupal\crop\CropTypeInterface::getCropTypeNames()
Returns a list of available crop type names.
This list can include types that are queued for addition or deletion.
Return value
string[] An array of crop type labels, keyed by the crop type name.
1 method overrides CropTypeInterface::getCropTypeNames()
- CropType::getCropTypeNames in src/
Entity/ CropType.php - Returns a list of available crop type names.
File
- src/
CropTypeInterface.php, line 35
Class
- CropTypeInterface
- Provides an interface defining a crop type entity.
Namespace
Drupal\cropCode
public static function getCropTypeNames();