public function Comment::bundle

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

Overrides Entity::bundle

File

drupal/core/modules/comment/lib/Drupal/comment/Plugin/Core/Entity/Comment.php, line 133
Definition of Drupal\comment\Plugin\Core\Entity\Comment.

Class

Comment
Defines the comment entity class.

Namespace

Drupal\comment\Plugin\Core\Entity

Code

public function bundle() {
  return $this->node_type;
}