Implements Drupal\Core\Entity\EntityInterface::id().
Overrides Entity::id
File
- drupal/core/modules/comment/lib/Drupal/comment/Plugin/Core/Entity/Comment.php, line 126
- Definition of Drupal\comment\Plugin\Core\Entity\Comment.
Class
- Comment
- Defines the comment entity class.
Namespace
Drupal\comment\Plugin\Core\Entity
Code
public function id() {
return $this->cid;
}