1 node.entity.inc | public Node::id() |
Implements EntityInterface::id().
Overrides EntityInterface::id
File
- core/
modules/ node/ node.entity.inc, line 184 - Entity controller and class for nodes.
Class
- Node
- Defines the node entity class.
Code
public function id() {
return isset($this->nid) ? $this->nid : NULL;
}