diff --git a/core/lib/Drupal/Core/Form/ConfirmFormHelper.php b/core/lib/Drupal/Core/Form/ConfirmFormHelper.php
index de98053..4a6cfec 100644
--- a/core/lib/Drupal/Core/Form/ConfirmFormHelper.php
+++ b/core/lib/Drupal/Core/Form/ConfirmFormHelper.php
@@ -34,16 +34,17 @@ public static function buildCancelLink(ConfirmFormInterface $form, Request $requ
     // If a destination is specified, that serves as the cancel link.
     if ($query->has('destination')) {
       $options = UrlHelper::parse($query->get('destination'));
-      $link = array(
+      return array(
+        '#type' => 'link',
+        '#title' => $form->getCancelText(),
         '#href' => $options['path'],
         '#options' => $options,
       );
     }
     // Check for a route-based cancel link.
     elseif ($url = $form->getCancelUrl()) {
-      $link = $url->toRenderArray();
+      return $url->toRenderArray($form->getCancelText());
     }
-
     $link['#type'] = 'link';
     $link['#title'] = $form->getCancelText();
     return $link;
diff --git a/core/lib/Drupal/Core/Url.php b/core/lib/Drupal/Core/Url.php
index d97f017..38d3c63 100644
--- a/core/lib/Drupal/Core/Url.php
+++ b/core/lib/Drupal/Core/Url.php
@@ -379,18 +379,25 @@ public function toArray() {
   /**
    * Returns the route information for a render array.
    *
+   * @param string $title
+   *   The title for the render array.
+   *
    * @return array
    *   An associative array suitable for a render array.
    */
-  public function toRenderArray() {
+  public function toRenderArray($title = '') {
     if ($this->isExternal()) {
       return array(
+        '#type' => 'link',
+        '#title' => $title,
         '#href' => $this->getPath(),
         '#options' => $this->getOptions(),
       );
     }
     else {
       return array(
+        '#type' => 'link',
+        '#title' => $title,
         '#route_name' => $this->getRouteName(),
         '#route_parameters' => $this->getRouteParameters(),
         '#options' => $this->getOptions(),
diff --git a/core/modules/comment/src/Form/CommentAdminOverview.php b/core/modules/comment/src/Form/CommentAdminOverview.php
index 723241a..fcfcc80 100644
--- a/core/modules/comment/src/Form/CommentAdminOverview.php
+++ b/core/modules/comment/src/Form/CommentAdminOverview.php
@@ -197,18 +197,13 @@ public function buildForm(array $form, FormStateInterface $form_state, $type = '
       $options[$comment->id()] = array(
         'title' => array('data' => array('#title' => $comment->getSubject() ?: $comment->id())),
         'subject' => array(
-          'data' => array(
-            '#type' => 'link',
-            '#title' => $comment->getSubject(),
-          ) + $comment_permalink->toRenderArray(),
+          'data' => $comment_permalink->toRenderArray($comment->getSubject()),
         ),
         'author' => drupal_render($username),
         'posted_in' => array(
-          'data' => array(
-            '#type' => 'link',
-            '#title' => $commented_entity->label(),
+          'data' => $commented_entity->urlInfo()->toRenderArray($commented_entity->label()) + array(
             '#access' => $commented_entity->access('view'),
-          ) + $commented_entity->urlInfo()->toRenderArray(),
+          ),
         ),
         'changed' => $this->dateFormatter->format($comment->getChangedTime(), 'short'),
       );
diff --git a/core/modules/entity_reference/src/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php b/core/modules/entity_reference/src/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php
index 154759f..46c4366 100644
--- a/core/modules/entity_reference/src/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php
+++ b/core/modules/entity_reference/src/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php
@@ -73,11 +73,7 @@ public function viewElements(FieldItemListInterface $items) {
         // If the link is to be displayed and the entity has a uri, display a
         // link.
         if ($this->getSetting('link') && $uri = $referenced_entity->urlInfo()) {
-          $elements[$delta] = array(
-            '#type' => 'link',
-            '#title' => $label,
-          ) + $uri->toRenderArray();
-
+          $elements[$delta] = $uri->toRenderArray($label);
           if (!empty($item->_attributes)) {
             $elements[$delta]['#options'] += array('attributes' => array());
             $elements[$delta]['#options']['attributes'] += $item->_attributes;
diff --git a/core/modules/image/src/Form/ImageEffectFormBase.php b/core/modules/image/src/Form/ImageEffectFormBase.php
index 52d5b2c..212f5fe 100644
--- a/core/modules/image/src/Form/ImageEffectFormBase.php
+++ b/core/modules/image/src/Form/ImageEffectFormBase.php
@@ -93,10 +93,7 @@ public function buildForm(array $form, FormStateInterface $form_state, ImageStyl
       '#type' => 'submit',
       '#button_type' => 'primary',
     );
-    $form['actions']['cancel'] = array(
-      '#type' => 'link',
-      '#title' => $this->t('Cancel'),
-    ) + $this->imageStyle->urlInfo('edit-form')->toRenderArray();
+    $form['actions']['cancel'] = $this->imageStyle->urlInfo('edit-form')->toRenderArray($this->t('Cancel'));
     return $form;
   }
 
diff --git a/core/modules/node/src/NodeListBuilder.php b/core/modules/node/src/NodeListBuilder.php
index c78915d..763f0ff 100644
--- a/core/modules/node/src/NodeListBuilder.php
+++ b/core/modules/node/src/NodeListBuilder.php
@@ -101,11 +101,9 @@ public function buildRow(EntityInterface $entity) {
     $options = $uri->getOptions();
     $options += ($langcode != LanguageInterface::LANGCODE_NOT_SPECIFIED && isset($languages[$langcode]) ? array('language' => $languages[$langcode]) : array());
     $uri->setOptions($options);
-    $row['title']['data'] = array(
-      '#type' => 'link',
-      '#title' => $entity->label(),
+    $row['title']['data'] = $uri->toRenderArray($entity->label()) + array(
       '#suffix' => ' ' . drupal_render($mark),
-    ) + $uri->toRenderArray();
+    );
     $row['type'] = String::checkPlain(node_get_type_label($entity));
     $row['author']['data'] = array(
       '#theme' => 'username',
diff --git a/core/modules/system/src/Controller/DbUpdateController.php b/core/modules/system/src/Controller/DbUpdateController.php
index da7e4c3..97fa830 100644
--- a/core/modules/system/src/Controller/DbUpdateController.php
+++ b/core/modules/system/src/Controller/DbUpdateController.php
@@ -213,10 +213,8 @@ protected function info() {
 
     $url = new Url('system.db_update', array('op' => 'selection'));
     $build['link'] = array(
-      '#type' => 'link',
-      '#title' => $this->t('Continue'),
       '#attributes' => array('class' => array('button', 'button--primary')),
-    ) + $url->toRenderArray();
+    ) + $url->toRenderArray($this->t('Continue'));
     return $build;
   }
 
@@ -343,11 +341,9 @@ protected function selection() {
       }
       $url = new Url('system.db_update', array('op' => 'run'));
       $build['link'] = array(
-        '#type' => 'link',
-        '#title' => $this->t('Apply pending updates'),
         '#attributes' => array('class' => array('button', 'button--primary')),
         '#weight' => 5,
-      ) + $url->toRenderArray();
+      ) + $url->toRenderArray($this->t('Apply pending updates'));
     }
 
     return $build;
diff --git a/core/modules/taxonomy/src/Form/OverviewTerms.php b/core/modules/taxonomy/src/Form/OverviewTerms.php
index 95e6178..46baace 100644
--- a/core/modules/taxonomy/src/Form/OverviewTerms.php
+++ b/core/modules/taxonomy/src/Form/OverviewTerms.php
@@ -221,11 +221,9 @@ public function buildForm(array $form, FormStateInterface $form_state, Vocabular
           '#size' => $term->depth,
         );
       }
-      $form['terms'][$key]['term'] = array(
+      $form['terms'][$key]['term'] = $term->urlInfo()->toRenderArray($term->getName()) + array(
         '#prefix' => !empty($indentation) ? drupal_render($indentation) : '',
-        '#type' => 'link',
-        '#title' => $term->getName(),
-      ) + $term->urlInfo()->toRenderArray();
+      );
       if ($taxonomy_vocabulary->hierarchy != TAXONOMY_HIERARCHY_MULTIPLE && count($tree) > 1) {
         $parent_fields = TRUE;
         $form['terms'][$key]['term']['tid'] = array(
diff --git a/core/modules/taxonomy/src/Plugin/Field/FieldFormatter/LinkFormatter.php b/core/modules/taxonomy/src/Plugin/Field/FieldFormatter/LinkFormatter.php
index 856b73e..c93b6fb 100644
--- a/core/modules/taxonomy/src/Plugin/Field/FieldFormatter/LinkFormatter.php
+++ b/core/modules/taxonomy/src/Plugin/Field/FieldFormatter/LinkFormatter.php
@@ -39,10 +39,7 @@ public function viewElements(FieldItemListInterface $items) {
       else {
         /** @var $term \Drupal\taxonomy\TermInterface */
         $term = $item->entity;
-        $elements[$delta] = array(
-          '#type' => 'link',
-          '#title' => $term->getName(),
-        ) + $term->urlInfo()->toRenderArray();
+        $elements[$delta] = $term->urlInfo()->toRenderArray($term->getName());
 
         if (!empty($item->_attributes)) {
           $elements[$delta]['#options'] += array('attributes' => array());
