upgrades core to 8.4.2
This commit is contained in:
@@ -93,7 +93,7 @@ class UpdateManagerInstall extends FormBase {
|
||||
$form['project_url'] = [
|
||||
'#type' => 'url',
|
||||
'#title' => $this->t('Install from a URL'),
|
||||
'#description' => $this->t('For example: %url', ['%url' => 'http://ftp.drupal.org/files/projects/name.tar.gz']),
|
||||
'#description' => $this->t('For example: %url', ['%url' => 'https://ftp.drupal.org/files/projects/name.tar.gz']),
|
||||
];
|
||||
|
||||
$form['information'] = [
|
||||
|
||||
@@ -69,7 +69,7 @@ class UpdateManagerUpdate extends FormBase {
|
||||
'#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')) {
|
||||
@@ -181,10 +181,12 @@ class UpdateManagerUpdate extends FormBase {
|
||||
}
|
||||
|
||||
// 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.
|
||||
@@ -278,7 +280,7 @@ class UpdateManagerUpdate extends FormBase {
|
||||
|
||||
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,
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace Drupal\update;
|
||||
|
||||
|
||||
/**
|
||||
* Processor of project update information.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user