EntityStorageBase::$idKey

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::idKey
  2. 10 core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::idKey
  3. 11.x core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::idKey

Name of the entity's ID field in the entity database table.

Type: string

File

core/lib/Drupal/Core/Entity/EntityStorageBase.php, line 37

Class

EntityStorageBase
A base entity storage class.

Namespace

Drupal\Core\Entity

Code

protected $idKey;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.