1.20.x node.entity.inc public Node::bundle()

Implements EntityInterface::bundle().

Overrides Entity::bundle

File

modules/node/node.entity.inc, line 198
Entity controller and class for nodes.

Class

Node
Defines the node entity class.

Code

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