only in patch2: unchanged: --- a/core/modules/system/src/Controller/DbUpdateController.php +++ b/core/modules/system/src/Controller/DbUpdateController.php @@ -201,10 +201,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->toRenderArrayFragment($this->t('Continue')); return $build; } @@ -314,11 +312,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->toRenderArrayFragment($this->t('Apply pending updates')); } return $build;