function Node::getType
Same name in other branches
- 9 core/modules/node/src/Entity/Node.php \Drupal\node\Entity\Node::getType()
- 10 core/modules/node/src/Entity/Node.php \Drupal\node\Entity\Node::getType()
- 11.x core/modules/node/src/Entity/Node.php \Drupal\node\Entity\Node::getType()
Overrides NodeInterface::getType
File
-
core/
modules/ node/ src/ Entity/ Node.php, line 186
Class
- Node
- Defines the node entity class.
Namespace
Drupal\node\EntityCode
public function getType() {
return $this->bundle();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.