public function EntityNG::id

Implements \Drupal\Core\Entity\EntityInterface::id().

Overrides Entity::id

2 calls to EntityNG::id()
CustomBlock::uri in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Plugin/Core/Entity/CustomBlock.php
Implements \Drupal\Core\Entity\EntityInterface::uri().
EntityNG::uriPlaceholderReplacements in drupal/core/lib/Drupal/Core/Entity/EntityNG.php
Returns an array of placeholders for this entity.
6 methods override EntityNG::id()
Comment::id in drupal/core/modules/comment/lib/Drupal/comment/Plugin/Core/Entity/Comment.php
Implements Drupal\Core\Entity\EntityInterface::id().
Feed::id in drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Core/Entity/Feed.php
Implements Drupal\Core\Entity\EntityInterface::id().
Item::id in drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Core/Entity/Item.php
Implements Drupal\Core\Entity\EntityInterface::id().
Node::id in drupal/core/modules/node/lib/Drupal/node/Plugin/Core/Entity/Node.php
Implements Drupal\Core\Entity\EntityInterface::id().
Term::id in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Core/Entity/Term.php
Implements Drupal\Core\Entity\EntityInterface::id().

... See full list

File

drupal/core/lib/Drupal/Core/Entity/EntityNG.php, line 127
Contains \Drupal\Core\Entity\EntityNG.

Class

EntityNG
Implements Entity Field API specific enhancements to the Entity class.

Namespace

Drupal\Core\Entity

Code

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