How do I print the title of a node entity? Printing the node object, I get this output.
stdClass Object
(
[__CLASS__] => Drupal\node\Entity\Node
[in_preview] =>
[values] => Array
(
[vid] => Array
(
[x-default] => 2
)
[nid] => Array
(
[x-default] => 2
)
[type] => Array
(
[x-default] => common
)
[title] => Array
(
[x-default] => Terms of Use
)
}