You are here

public function CropType::id in Crop API 8.2

Same name and namespace in other branches
  1. 8 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 111

Class

CropType
Defines the Crop type configuration entity.

Namespace

Drupal\crop\Entity

Code

public function id() {
  return $this->id;
}