'#last' => $this->state->get('update.last_check') ?: 0,
];
$form['last_check'] = [
- '#markup' => drupal_render($last_markup),
+ '#markup' => \Drupal::service('renderer')->render($last_markup),
];
if (!_update_manager_check_backends($form, 'update')) {
}
// Use the project title for the tableselect checkboxes.
- $entry['title'] = ['data' => [
- '#title' => $entry['title'],
- '#markup' => $entry['title'],
- ]];
+ $entry['title'] = [
+ 'data' => [
+ '#title' => $entry['title'],
+ '#markup' => $entry['title'],
+ ],
+ ];
$entry['#attributes'] = ['class' => ['update-' . $type]];
// Drupal core needs to be upgraded manually.
if (!empty($projects['manual'])) {
$prefix = '<h2>' . $this->t('Manual updates required') . '</h2>';
- $prefix .= '<p>' . $this->t('Updates of Drupal core are not supported at this time.') . '</p>';
+ $prefix .= '<p>' . $this->t('Automatic updates of Drupal core are not supported at this time.') . '</p>';
$form['manual_updates'] = [
'#type' => 'table',
'#header' => $headers,