Mercurial > hg > isophonics-drupal-site
comparison core/modules/comment/comment.tokens.inc @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
177 $replacements[$original] = $comment->language()->getId(); | 177 $replacements[$original] = $comment->language()->getId(); |
178 break; | 178 break; |
179 | 179 |
180 // Comment related URLs. | 180 // Comment related URLs. |
181 case 'url': | 181 case 'url': |
182 $url_options['fragment'] = 'comment-' . $comment->id(); | 182 $url_options['fragment'] = 'comment-' . $comment->id(); |
183 $replacements[$original] = $comment->url('canonical', $url_options); | 183 $replacements[$original] = $comment->url('canonical', $url_options); |
184 break; | 184 break; |
185 | 185 |
186 case 'edit-url': | 186 case 'edit-url': |
187 $url_options['fragment'] = NULL; | 187 $url_options['fragment'] = NULL; |