public function CropType::id in Crop API 8
Same name and namespace in other branches
- 8.2 src/Entity/CropType.php \Drupal\crop\Entity\CropType::id()
Gets the identifier.
Return value
string|int|null The entity identifier, or NULL if the object does not yet have an identifier.
Overrides EntityBase::id
File
- src/
Entity/ CropType.php, line 101
Class
- CropType
- Defines the Crop type configuration entity.
Namespace
Drupal\crop\EntityCode
public function id() {
return $this->id;
}