You are here

public static function EdgeEntityBase::uniqueIdProperties in Apigee Edge 8

Returns all unique ids how an entity can be referenced in Apigee Edge.

All these ids can be used in Drupal to load entity as well.

Ex.: Developer can be referenced by its UUID or its email address.

Return value

string[] Array of entity properties that stores unique entity ids. Returned properties must have a public getter, ex.: 'get' . ucfirst($property).

Overrides EdgeEntityInterface::uniqueIdProperties

3 calls to EdgeEntityBase::uniqueIdProperties()
App::uniqueIdProperties in src/Entity/App.php
Returns all unique ids how an entity can be referenced in Apigee Edge.
Developer::uniqueIdProperties in src/Entity/Developer.php
Returns all unique ids how an entity can be referenced in Apigee Edge.
EdgeEntityBase::uniqueIds in src/Entity/EdgeEntityBase.php
List of unique ids how an entity can be referenced in Apigee Edge.
2 methods override EdgeEntityBase::uniqueIdProperties()
App::uniqueIdProperties in src/Entity/App.php
Returns all unique ids how an entity can be referenced in Apigee Edge.
Developer::uniqueIdProperties in src/Entity/Developer.php
Returns all unique ids how an entity can be referenced in Apigee Edge.

File

src/Entity/EdgeEntityBase.php, line 100

Class

EdgeEntityBase
Base class for Apigee Edge entities in Drupal.

Namespace

Drupal\apigee_edge\Entity

Code

public static function uniqueIdProperties() : array {
  return [
    static::idProperty(),
  ];
}