Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663
This commit is contained in:
parent
eb34d130a8
commit
f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions
|
@ -10,7 +10,7 @@ update.settings:
|
|||
mapping:
|
||||
disabled_extensions:
|
||||
type: boolean
|
||||
label: 'Check for updates of disabled modules and themes'
|
||||
label: 'Check for updates of uninstalled modules and themes'
|
||||
interval_days:
|
||||
type: integer
|
||||
label: 'Days since last check'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
id: d6_update_settings
|
||||
label: Drupal 6 update configuration
|
||||
label: Update configuration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
source:
|
||||
|
|
|
@ -86,10 +86,10 @@ class UpdateManagerInstall extends FormBase {
|
|||
|
||||
$form['help_text'] = array(
|
||||
'#prefix' => '<p>',
|
||||
'#markup' => $this->t('You can find <a href="@module_url">modules</a> and <a href="@theme_url">themes</a> on <a href="@drupal_org_url">drupal.org</a>. The following file extensions are supported: %extensions.', array(
|
||||
'@module_url' => 'https://www.drupal.org/project/modules',
|
||||
'@theme_url' => 'https://www.drupal.org/project/themes',
|
||||
'@drupal_org_url' => 'https://www.drupal.org',
|
||||
'#markup' => $this->t('You can find <a href=":module_url">modules</a> and <a href=":theme_url">themes</a> on <a href=":drupal_org_url">drupal.org</a>. The following file extensions are supported: %extensions.', array(
|
||||
':module_url' => 'https://www.drupal.org/project/modules',
|
||||
':theme_url' => 'https://www.drupal.org/project/themes',
|
||||
':drupal_org_url' => 'https://www.drupal.org',
|
||||
'%extensions' => archiver_get_extensions(),
|
||||
)),
|
||||
'#suffix' => '</p>',
|
||||
|
|
|
@ -98,7 +98,7 @@ class UpdateReady extends FormBase {
|
|||
|
||||
$form['backup'] = array(
|
||||
'#prefix' => '<strong>',
|
||||
'#markup' => $this->t('Back up your database and site before you continue. <a href="@backup_url">Learn how</a>.', array('@backup_url' => 'https://www.drupal.org/node/22281')),
|
||||
'#markup' => $this->t('Back up your database and site before you continue. <a href=":backup_url">Learn how</a>.', array(':backup_url' => 'https://www.drupal.org/node/22281')),
|
||||
'#suffix' => '</strong>',
|
||||
);
|
||||
|
||||
|
|
|
@ -20,9 +20,7 @@ class MigrateUpdateConfigsTest extends MigrateDrupal6TestBase {
|
|||
use SchemaCheckTestTrait;
|
||||
|
||||
/**
|
||||
* Modules to enable.
|
||||
*
|
||||
* @var array
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static $modules = array('update');
|
||||
|
||||
|
|
|
@ -281,12 +281,12 @@ class UpdateContribTest extends UpdateTestBase {
|
|||
// themes.
|
||||
$this->assertNoText(t('Themes'));
|
||||
if ($check_disabled) {
|
||||
$this->assertText(t('Disabled themes'));
|
||||
$this->assertText(t('Uninstalled themes'));
|
||||
$this->assertRaw($base_theme_project_link, 'Link to the Update test base theme project appears.');
|
||||
$this->assertRaw($sub_theme_project_link, 'Link to the Update test subtheme project appears.');
|
||||
}
|
||||
else {
|
||||
$this->assertNoText(t('Disabled themes'));
|
||||
$this->assertNoText(t('Uninstalled themes'));
|
||||
$this->assertNoRaw($base_theme_project_link, 'Link to the Update test base theme project does not appear.');
|
||||
$this->assertNoRaw($sub_theme_project_link, 'Link to the Update test subtheme project does not appear.');
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ class UpdateSettingsForm extends ConfigFormBase implements ContainerInjectionInt
|
|||
|
||||
$form['update_check_disabled'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Check for updates of disabled modules and themes'),
|
||||
'#title' => t('Check for updates of uninstalled modules and themes'),
|
||||
'#default_value' => $config->get('check.disabled_extensions'),
|
||||
);
|
||||
|
||||
|
@ -98,7 +98,7 @@ class UpdateSettingsForm extends ConfigFormBase implements ContainerInjectionInt
|
|||
'all' => t('All newer versions'),
|
||||
'security' => t('Only security updates'),
|
||||
),
|
||||
'#description' => t('You can choose to send email only if a security update is available, or to be notified about all newer versions. If there are updates available of Drupal core or any of your installed modules and themes, your site will always print a message on the <a href="@status_report">status report</a> page, and will also display an error message on administration pages if there is a security update.', array('@status_report' => $this->url('system.status')))
|
||||
'#description' => t('You can choose to send email only if a security update is available, or to be notified about all newer versions. If there are updates available of Drupal core or any of your installed modules and themes, your site will always print a message on the <a href=":status_report">status report</a> page, and will also display an error message on administration pages if there is a security update.', array(':status_report' => $this->url('system.status')))
|
||||
);
|
||||
|
||||
return parent::buildForm($form, $form_state);
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
#}
|
||||
<div class="{{ attributes.class }} project-update__version"{{ attributes|without('class') }}>
|
||||
<div class="clearfix">
|
||||
<div class="project-update__version-title layout-column quarter">{{ title }}</div>
|
||||
<div class="project-update__version-details layout-column quarter">
|
||||
<div class="project-update__version-title layout-column layout-column--quarter">{{ title }}</div>
|
||||
<div class="project-update__version-details layout-column layout-column--quarter">
|
||||
<a href="{{ version.release_link }}">{{ version.version }}</a>
|
||||
<span class="project-update__version-date">({{ version.date|date('Y-M-d') }})</span>
|
||||
</div>
|
||||
<div class="layout-column half">
|
||||
<div class="layout-column layout-column--half">
|
||||
<ul class="project-update__version-links">
|
||||
<li class="project-update__download-link">
|
||||
<a href="{{ version.download_link }}">{{ 'Download'|t }}</a>
|
||||
|
|
|
@ -113,10 +113,10 @@ function _update_requirement_check($project, $type) {
|
|||
// a single paragraph.
|
||||
$requirement['description'][] = ['#markup' => _update_message_text($type, $status)];
|
||||
if (_update_manager_access()) {
|
||||
$requirement['description'][] = ['#prefix' => ' ', '#markup' => t('See the <a href="@available_updates">available updates</a> page for more information and to install your missing updates.', ['@available_updates' => \Drupal::url('update.report_update')])];
|
||||
$requirement['description'][] = ['#prefix' => ' ', '#markup' => t('See the <a href=":available_updates">available updates</a> page for more information and to install your missing updates.', [':available_updates' => \Drupal::url('update.report_update')])];
|
||||
}
|
||||
else {
|
||||
$requirement['description'][] = ['#prefix' => ' ', '#markup' => t('See the <a href="@available_updates">available updates</a> page for more information.', ['@available_updates' => \Drupal::url('update.status')])];
|
||||
$requirement['description'][] = ['#prefix' => ' ', '#markup' => t('See the <a href=":available_updates">available updates</a> page for more information.', [':available_updates' => \Drupal::url('update.status')])];
|
||||
}
|
||||
}
|
||||
switch ($status) {
|
||||
|
|
|
@ -99,10 +99,10 @@ function _update_manager_check_backends(&$form, $operation) {
|
|||
$available_backends = drupal_get_filetransfer_info();
|
||||
if (empty($available_backends)) {
|
||||
if ($operation == 'update') {
|
||||
$form['available_backends']['#markup'] = t('Your server does not support updating modules and themes from this interface. Instead, update modules and themes by uploading the new versions directly to the server, as described in the <a href="@handbook_url">handbook</a>.', array('@handbook_url' => 'https://www.drupal.org/getting-started/install-contrib'));
|
||||
$form['available_backends']['#markup'] = t('Your server does not support updating modules and themes from this interface. Instead, update modules and themes by uploading the new versions directly to the server, as described in the <a href=":handbook_url">handbook</a>.', array(':handbook_url' => 'https://www.drupal.org/getting-started/install-contrib'));
|
||||
}
|
||||
else {
|
||||
$form['available_backends']['#markup'] = t('Your server does not support installing modules and themes from this interface. Instead, install modules and themes by uploading them directly to the server, as described in the <a href="@handbook_url">handbook</a>.', array('@handbook_url' => 'https://www.drupal.org/getting-started/install-contrib'));
|
||||
$form['available_backends']['#markup'] = t('Your server does not support installing modules and themes from this interface. Instead, install modules and themes by uploading them directly to the server, as described in the <a href=":handbook_url">handbook</a>.', array(':handbook_url' => 'https://www.drupal.org/getting-started/install-contrib'));
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -114,21 +114,21 @@ function _update_manager_check_backends(&$form, $operation) {
|
|||
if ($operation == 'update') {
|
||||
$form['available_backends']['#markup'] = \Drupal::translation()->formatPlural(
|
||||
count($available_backends),
|
||||
'Updating modules and themes requires <strong>@backends access</strong> to your server. See the <a href="@handbook_url">handbook</a> for other update methods.',
|
||||
'Updating modules and themes requires access to your server via one of the following methods: <strong>@backends</strong>. See the <a href="@handbook_url">handbook</a> for other update methods.',
|
||||
'Updating modules and themes requires <strong>@backends access</strong> to your server. See the <a href=":handbook_url">handbook</a> for other update methods.',
|
||||
'Updating modules and themes requires access to your server via one of the following methods: <strong>@backends</strong>. See the <a href=":handbook_url">handbook</a> for other update methods.',
|
||||
array(
|
||||
'@backends' => implode(', ', $backend_names),
|
||||
'@handbook_url' => 'https://www.drupal.org/getting-started/install-contrib',
|
||||
':handbook_url' => 'https://www.drupal.org/getting-started/install-contrib',
|
||||
));
|
||||
}
|
||||
else {
|
||||
$form['available_backends']['#markup'] = \Drupal::translation()->formatPlural(
|
||||
count($available_backends),
|
||||
'Installing modules and themes requires <strong>@backends access</strong> to your server. See the <a href="@handbook_url">handbook</a> for other installation methods.',
|
||||
'Installing modules and themes requires access to your server via one of the following methods: <strong>@backends</strong>. See the <a href="@handbook_url">handbook</a> for other installation methods.',
|
||||
'Installing modules and themes requires <strong>@backends access</strong> to your server. See the <a href=":handbook_url">handbook</a> for other installation methods.',
|
||||
'Installing modules and themes requires access to your server via one of the following methods: <strong>@backends</strong>. See the <a href=":handbook_url">handbook</a> for other installation methods.',
|
||||
array(
|
||||
'@backends' => implode(', ', $backend_names),
|
||||
'@handbook_url' => 'https://www.drupal.org/getting-started/install-contrib',
|
||||
':handbook_url' => 'https://www.drupal.org/getting-started/install-contrib',
|
||||
));
|
||||
}
|
||||
return TRUE;
|
||||
|
|
|
@ -72,7 +72,7 @@ function update_help($route_name, RouteMatchInterface $route_match) {
|
|||
case 'help.page.update':
|
||||
$output = '';
|
||||
$output .= '<h3>' . t('About') . '</h3>';
|
||||
$output .= '<p>' . t('The Update Manager module periodically checks for new versions of your site\'s software (including contributed modules and themes), and alerts administrators to available updates. The Update Manager system is also used by some other modules to manage updates and downloads; for example, the Interface Translation module uses the Update Manager to download translations from the localization server. Note that whenever the Update Manager system is used, anonymous usage statistics are sent to Drupal.org. If desired, you may disable the Update Manager module from the <a href="!modules">Extend page</a>; if you do so, functionality that depends on the Update Manager system will not work. For more information, see <a href="!update">the online documentation for the Update Manager module</a>.', array('!update' => 'https://www.drupal.org/documentation/modules/update', '!modules' => \Drupal::url('system.modules_list'))) . '</p>';
|
||||
$output .= '<p>' . t('The Update Manager module periodically checks for new versions of your site\'s software (including contributed modules and themes), and alerts administrators to available updates. The Update Manager system is also used by some other modules to manage updates and downloads; for example, the Interface Translation module uses the Update Manager to download translations from the localization server. Note that whenever the Update Manager system is used, anonymous usage statistics are sent to Drupal.org. If desired, you may disable the Update Manager module from the <a href=":modules">Extend page</a>; if you do so, functionality that depends on the Update Manager system will not work. For more information, see the <a href=":update">online documentation for the Update Manager module</a>.', array(':update' => 'https://www.drupal.org/documentation/modules/update', ':modules' => \Drupal::url('system.modules_list'))) . '</p>';
|
||||
// Only explain the Update manager if it has not been disabled.
|
||||
if (_update_manager_access()) {
|
||||
$output .= '<p>' . t('The Update Manager also allows administrators to update and install modules and themes through the administration interface.') . '</p>';
|
||||
|
@ -80,13 +80,13 @@ function update_help($route_name, RouteMatchInterface $route_match) {
|
|||
$output .= '<h3>' . t('Uses') . '</h3>';
|
||||
$output .= '<dl>';
|
||||
$output .= '<dt>' . t('Checking for available updates') . '</dt>';
|
||||
$output .= '<dd>' . t('The <a href="!update-report">Available updates report</a> displays core, contributed modules, and themes for which there are new releases available for download. On the report page, you can also check manually for updates. You can configure the frequency of update checks, which are performed during cron runs, and whether notifications are sent on the <a href="!update-settings">Update Manager settings page</a>.', array('!update-report' => \Drupal::url('update.status'), '!update-settings' => \Drupal::url('update.settings'))) . '</dd>';
|
||||
$output .= '<dd>' . t('The <a href=":update-report">Available updates report</a> displays core, contributed modules, and themes for which there are new releases available for download. On the report page, you can also check manually for updates. You can configure the frequency of update checks, which are performed during cron runs, and whether notifications are sent on the <a href=":update-settings">Update Manager settings page</a>.', array(':update-report' => \Drupal::url('update.status'), ':update-settings' => \Drupal::url('update.settings'))) . '</dd>';
|
||||
// Only explain the Update manager if it has not been disabled.
|
||||
if (_update_manager_access()) {
|
||||
$output .= '<dt>' . t('Performing updates through the Update page') . '</dt>';
|
||||
$output .= '<dd>' . t('The Update Manager module allows administrators to perform updates directly from the <a href="!update-page">Update page</a>. It lists all available updates, and you can confirm whether you want to download them. If you don\'t have sufficient access rights to your web server, you could be prompted for your FTP/SSH password. Afterwards the files are transferred into your site installation, overwriting your old files. Direct links to the Update page are also displayed on the <a href="!modules_page">Extend page</a> and the <a href="!themes_page">Appearance page</a>.', array('!modules_page' => \Drupal::url('system.modules_list'), '!themes_page' => \Drupal::url('system.themes_page'), '!update-page' => \Drupal::url('update.report_update'))) . '</dd>';
|
||||
$output .= '<dd>' . t('The Update Manager module allows administrators to perform updates directly from the <a href=":update-page">Update page</a>. It lists all available updates, and you can confirm whether you want to download them. If you don\'t have sufficient access rights to your web server, you could be prompted for your FTP/SSH password. Afterwards the files are transferred into your site installation, overwriting your old files. Direct links to the Update page are also displayed on the <a href=":modules_page">Extend page</a> and the <a href=":themes_page">Appearance page</a>.', array(':modules_page' => \Drupal::url('system.modules_list'), ':themes_page' => \Drupal::url('system.themes_page'), ':update-page' => \Drupal::url('update.report_update'))) . '</dd>';
|
||||
$output .= '<dt>' . t('Installing new modules and themes through the Install page') . '</dt>';
|
||||
$output .= '<dd>' . t('You can also install new modules and themes in the same fashion, through the <a href="!install">Install page</a>, or by clicking the <em>Install new module/theme</em> links at the top of the <a href="!modules_page">Extend page</a> and the <a href="!themes_page">Appearance page</a>. In this case, you are prompted to provide either the URL to the download, or to upload a packaged release file from your local computer.', array('!modules_page' => \Drupal::url('system.modules_list'), '!themes_page' => \Drupal::url('system.themes_page'), '!install' => \Drupal::url('update.report_install'))) . '</dd>';
|
||||
$output .= '<dd>' . t('You can also install new modules and themes in the same fashion, through the <a href=":install">Install page</a>, or by clicking the <em>Install new module/theme</em> links at the top of the <a href=":modules_page">Extend page</a> and the <a href=":themes_page">Appearance page</a>. In this case, you are prompted to provide either the URL to the download, or to upload a packaged release file from your local computer.', array(':modules_page' => \Drupal::url('system.modules_list'), ':themes_page' => \Drupal::url('system.themes_page'), ':install' => \Drupal::url('update.report_install'))) . '</dd>';
|
||||
}
|
||||
$output .= '</dl>';
|
||||
return $output;
|
||||
|
@ -96,10 +96,10 @@ function update_help($route_name, RouteMatchInterface $route_match) {
|
|||
|
||||
case 'system.modules_list':
|
||||
if (_update_manager_access()) {
|
||||
$output = '<p>' . t('Regularly review and install <a href="!updates">available updates</a> to maintain a secure and current site. Always run the <a href="!update-php">update script</a> each time a module is updated.', array('!update-php' => \Drupal::url('system.db_update'), '!updates' => \Drupal::url('update.status'))) . '</p>';
|
||||
$output = '<p>' . t('Regularly review and install <a href=":updates">available updates</a> to maintain a secure and current site. Always run the <a href=":update-php">update script</a> each time a module is updated.', array(':update-php' => \Drupal::url('system.db_update'), ':updates' => \Drupal::url('update.status'))) . '</p>';
|
||||
}
|
||||
else {
|
||||
$output = '<p>' . t('Regularly review <a href="!updates">available updates</a> to maintain a secure and current site. Always run the <a href="!update-php">update script</a> each time a module is updated.', array('!update-php' => \Drupal::url('system.db_update'), '!updates' => \Drupal::url('update.status'))) . '</p>';
|
||||
$output = '<p>' . t('Regularly review <a href=":updates">available updates</a> to maintain a secure and current site. Always run the <a href=":update-php">update script</a> each time a module is updated.', array(':update-php' => \Drupal::url('system.db_update'), ':updates' => \Drupal::url('update.status'))) . '</p>';
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
@ -140,6 +140,11 @@ function update_page_top() {
|
|||
$status = update_requirements('runtime');
|
||||
foreach (array('core', 'contrib') as $report_type) {
|
||||
$type = 'update_' . $report_type;
|
||||
// hook_requirements() supports render arrays therefore we need to render
|
||||
// them before using drupal_set_message().
|
||||
if (isset($status[$type]['description']) && is_array($status[$type]['description'])) {
|
||||
$status[$type]['description'] = \Drupal::service('renderer')->renderPlain($status[$type]['description']);
|
||||
}
|
||||
if (!empty($verbose)) {
|
||||
if (isset($status[$type]['severity'])) {
|
||||
if ($status[$type]['severity'] == REQUIREMENT_ERROR) {
|
||||
|
@ -281,9 +286,9 @@ function update_storage_clear_submit($form, FormStateInterface $form_state) {
|
|||
*/
|
||||
function _update_no_data() {
|
||||
$destination = \Drupal::destination()->getAsArray();
|
||||
return t('No update information available. <a href="@run_cron">Run cron</a> or <a href="@check_manually">check manually</a>.', array(
|
||||
'@run_cron' => \Drupal::url('system.run_cron', [], ['query' => $destination]),
|
||||
'@check_manually' => \Drupal::url('update.manual_status', [], ['query' => $destination]),
|
||||
return t('No update information available. <a href=":run_cron">Run cron</a> or <a href=":check_manually">check manually</a>.', array(
|
||||
':run_cron' => \Drupal::url('system.run_cron', [], ['query' => $destination]),
|
||||
':check_manually' => \Drupal::url('update.manual_status', [], ['query' => $destination]),
|
||||
));
|
||||
}
|
||||
|
||||
|
@ -441,7 +446,7 @@ function update_fetch_data_finished($success, $results) {
|
|||
function update_mail($key, &$message, $params) {
|
||||
$langcode = $message['langcode'];
|
||||
$language = \Drupal::languageManager()->getLanguage($langcode);
|
||||
$message['subject'] .= t('New release(s) available for !site_name', array('!site_name' => \Drupal::config('system.site')->get('name')), array('langcode' => $langcode));
|
||||
$message['subject'] .= t('New release(s) available for @site_name', array('@site_name' => \Drupal::config('system.site')->get('name')), array('langcode' => $langcode));
|
||||
foreach ($params as $msg_type => $msg_reason) {
|
||||
$message['body'][] = _update_message_text($msg_type, $msg_reason, $langcode);
|
||||
}
|
||||
|
@ -451,10 +456,10 @@ function update_mail($key, &$message, $params) {
|
|||
}
|
||||
$settings_url = \Drupal::url('update.settings', [], ['absolute' => TRUE]);
|
||||
if (\Drupal::config('update.settings')->get('notification.threshold') == 'all') {
|
||||
$message['body'][] = t('Your site is currently configured to send these emails when any updates are available. To get notified only for security updates, !url.', array('!url' => $settings_url));
|
||||
$message['body'][] = t('Your site is currently configured to send these emails when any updates are available. To get notified only for security updates, @url.', array('@url' => $settings_url));
|
||||
}
|
||||
else {
|
||||
$message['body'][] = t('Your site is currently configured to send these emails only when security updates are available. To get notified for any available updates, !url.', array('!url' => $settings_url));
|
||||
$message['body'][] = t('Your site is currently configured to send these emails only when security updates are available. To get notified for any available updates, @url.', array('@url' => $settings_url));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -520,10 +525,10 @@ function _update_message_text($msg_type, $msg_reason, $langcode = NULL) {
|
|||
case UPDATE_NOT_FETCHED:
|
||||
case UPDATE_FETCH_PENDING:
|
||||
if ($msg_type == 'core') {
|
||||
$text = t('There was a problem checking <a href="@update-report">available updates</a> for Drupal.', array('@update-report' => \Drupal::url('update.status')), array('langcode' => $langcode));
|
||||
$text = t('There was a problem checking <a href=":update-report">available updates</a> for Drupal.', array(':update-report' => \Drupal::url('update.status')), array('langcode' => $langcode));
|
||||
}
|
||||
else {
|
||||
$text = t('There was a problem checking <a href="@update-report">available updates</a> for your modules or themes.', array('@update-report' => \Drupal::url('update.status')), array('langcode' => $langcode));
|
||||
$text = t('There was a problem checking <a href=":update-report">available updates</a> for your modules or themes.', array(':update-report' => \Drupal::url('update.status')), array('langcode' => $langcode));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -591,7 +596,7 @@ function update_verify_update_archive($project, $archive_file, $directory) {
|
|||
&& file_exists("$directory/$project/core/modules/system/system.module")
|
||||
) {
|
||||
return array(
|
||||
'no-core' => t('Automatic updating of Drupal core is not supported. See the <a href="@upgrade-guide">upgrade guide</a> for information on how to update Drupal core manually.', array('@upgrade-guide' => 'https://www.drupal.org/upgrade')),
|
||||
'no-core' => t('Automatic updating of Drupal core is not supported. See the <a href=":upgrade-guide">upgrade guide</a> for information on how to update Drupal core manually.', array(':upgrade-guide' => 'https://www.drupal.org/upgrade')),
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -623,9 +628,9 @@ function update_verify_update_archive($project, $archive_file, $directory) {
|
|||
elseif (!$compatible_project) {
|
||||
$errors[] = \Drupal::translation()->formatPlural(
|
||||
count($incompatible),
|
||||
'%archive_file contains a version of %names that is not compatible with Drupal !version.',
|
||||
'%archive_file contains versions of modules or themes that are not compatible with Drupal !version: %names',
|
||||
array('!version' => \Drupal::CORE_COMPATIBILITY, '%archive_file' => drupal_basename($archive_file), '%names' => implode(', ', $incompatible))
|
||||
'%archive_file contains a version of %names that is not compatible with Drupal @version.',
|
||||
'%archive_file contains versions of modules or themes that are not compatible with Drupal @version: %names',
|
||||
array('@version' => \Drupal::CORE_COMPATIBILITY, '%archive_file' => drupal_basename($archive_file), '%names' => implode(', ', $incompatible))
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -84,8 +84,8 @@ function template_preprocess_update_report(&$variables) {
|
|||
'core' => t('Drupal core'),
|
||||
'module' => t('Modules'),
|
||||
'theme' => t('Themes'),
|
||||
'module-disabled' => t('Disabled modules'),
|
||||
'theme-disabled' => t('Disabled themes'),
|
||||
'module-disabled' => t('Uninstalled modules'),
|
||||
'theme-disabled' => t('Uninstalled themes'),
|
||||
);
|
||||
|
||||
$variables['project_types'] = array();
|
||||
|
|
|
@ -2,7 +2,7 @@ update.settings:
|
|||
path: '/admin/reports/updates/settings'
|
||||
defaults:
|
||||
_form: '\Drupal\update\UpdateSettingsForm'
|
||||
_title: 'Settings'
|
||||
_title: 'Update Manager settings'
|
||||
requirements:
|
||||
_permission: 'administer site configuration'
|
||||
|
||||
|
|
Reference in a new issue