Render tokens in hook_node_view I am creating the following pseudo field in hook_node_view:

function user_guides_node_view($node, $view_mode, $langcode) {
    $node-&gt;content['field_mytest'] = array('#markup' =&gt; '&lt;p&gt;This is my test&lt;/p&gt;&lt;p&gt;[current-page:title]&lt;/p&gt;');
}


This is the rendered result:

This is my test
[current-page:title]


How can I get the value of the token to be displayed instead of the token itself?
You can use token_replace() for that. As you're using a global token (no context required) it's very simple:

$markup = token_replace('&lt;p&gt;This is my test&lt;/p&gt;&lt;p&gt;[current-page:title]&lt;/p&gt;');
$node-&gt;content['field_mytest']['#markup'] = $markup;