function NodeInterface::getType
Same name in other branches
- 9 core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::getType()
- 8.9.x core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::getType()
- 11.x core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::getType()
Gets the node type.
Return value
string The node type.
1 method overrides NodeInterface::getType()
- Node::getType in core/
modules/ node/ src/ Entity/ Node.php - Gets the node type.
File
-
core/
modules/ node/ src/ NodeInterface.php, line 52
Class
- NodeInterface
- Provides an interface defining a node entity.
Namespace
Drupal\nodeCode
public function getType();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.