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