How do I print the node title from the object? How do I print the title of a node entity? Printing the node object, I get this output.

stdClass Object
(
    [__CLASS__] =&gt; Drupal\node\Entity\Node
    [in_preview] =&gt; 
    [values] =&gt; Array
        (
            [vid] =&gt; Array
                (
                    [x-default] =&gt; 2
                )

            [nid] =&gt; Array
                (
                    [x-default] =&gt; 2
                )

            [type] =&gt; Array
                (
                    [x-default] =&gt; common
                )

            [title] =&gt; Array
                (
                    [x-default] =&gt; Terms of Use
                )
}
Are you in a twig template rendering a node? If so:

{{ label }} or {{ node.label }}

Via code in PHP:

$node-&gt;label(); via label() and/or also $node-&gt;getTitle(); via getTitle()