1 node.entity.inc public Node::bundle()

Implements EntityInterface::bundle().

Overrides Entity::bundle

File

core/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;
}