Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/node/src/NodeViewBuilder.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
128 $node_title_stripped = strip_tags($entity->label()); | 128 $node_title_stripped = strip_tags($entity->label()); |
129 $links['node-readmore'] = [ | 129 $links['node-readmore'] = [ |
130 'title' => t('Read more<span class="visually-hidden"> about @title</span>', [ | 130 'title' => t('Read more<span class="visually-hidden"> about @title</span>', [ |
131 '@title' => $node_title_stripped, | 131 '@title' => $node_title_stripped, |
132 ]), | 132 ]), |
133 'url' => $entity->urlInfo(), | 133 'url' => $entity->toUrl(), |
134 'language' => $entity->language(), | 134 'language' => $entity->language(), |
135 'attributes' => [ | 135 'attributes' => [ |
136 'rel' => 'tag', | 136 'rel' => 'tag', |
137 'title' => $node_title_stripped, | 137 'title' => $node_title_stripped, |
138 ], | 138 ], |