function ContentEntityBase::id
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::id()
- 8.9.x core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::id()
- 11.x core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::id()
Overrides EntityBase::id
12 calls to ContentEntityBase::id()
- Comment::permalink in core/
modules/ comment/ src/ Entity/ Comment.php - Returns the permalink URL for this comment.
- ContentEntityBase::hasTranslationChanges in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - ContentEntityBase::isLatestRevision in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - ContentEntityBase::isLatestTranslationAffectedRevision in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Media::prepareSave in core/
modules/ media/ src/ Entity/ Media.php - Sets the media entity's field values from the source's metadata.
File
-
core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php, line 567
Class
- ContentEntityBase
- Implements Entity Field API specific enhancements to the Entity class.
Namespace
Drupal\Core\EntityCode
public function id() {
return $this->getEntityKey('id');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.