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

Implements EntityInterface::uri().

Overrides EntityInterface::uri

File

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

Class

Node
Defines the node entity class.

Code

public function uri() {
  return array(
    'path' => 'node/' . $this->nid,
    'options' => array(),
  );
}