You are here

protected function ApiProduct::drupalEntityId in Apigee Edge 8

Return the entity id used in Drupal.

Return value

null|string Null if the entity is new.

Overrides EdgeEntityBase::drupalEntityId

File

src/Entity/ApiProduct.php, line 84

Class

ApiProduct
Defines the API product entity class.

Namespace

Drupal\apigee_edge\Entity

Code

protected function drupalEntityId() : ?string {
  return $this
    ->getName();
}