How to add a 'read more' theme link to a custom view mode? In Drupal 7 the Teaser view mode automatically comes with a 'read more' theme link. I need to retain the Teaser view mode and then create another called 'Snippet', which is basically the same as Teaser but has a lot less content in the trimmed area.

I created a custom module and added the view mode...

/**
* Implements hook_entity_info_alter().
*/
function mymodule_entity_info_alter(&amp;$entity_info) {
    // Add a custom view mode
    $entity_info['node']['view modes']['snippet'] = array(
        'label' =&gt; t('Snippet'),
        'custom settings' =&gt; TRUE,
    );
}


But it doesn't activate the 'read more' link like Teaser does. Can anyone point me in the right direction with this please?
I took a look here

https://api.drupal.org/api/drupal/modules%21node%21node.module/function/node_build_content/7

and here

https://drupal.org/node/1844292

and came up with this

function YOURMODULE_node_view_alter(&amp;$build) {
    if ($build['#view_mode'] == 'YOURVIEWMODE') {
        $node=$build['#node'];
        $links=array();     
        // Read more for teas ext
        $node_title_stripped = strip_tags($node-&gt;title);
        $links['node-readmore'] = array(
            'title' =&gt; t('Read more&lt;span class="element-invisible"&gt; about @title&lt;/span&gt;', array('@title' =&gt; $node_title_stripped)),
            'href' =&gt; 'node/' . $node-&gt;nid,
            'html' =&gt; TRUE,
            'attributes' =&gt; array('rel' =&gt; 'tag', 'title' =&gt; $node_title_stripped)
        );
        // Assign links
        $build['links']['node']['#links']=$links;
    }
}