summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules
diff options
context:
space:
mode:
authorLee Rowlands <lee.rowlands@previousnext.com.au>2025-04-28 11:27:49 +1000
committerLee Rowlands <lee.rowlands@previousnext.com.au>2025-04-28 11:27:49 +1000
commita464b59b5e60b5a28f3192db5db488cb2c3b3d76 (patch)
tree87d2e356866dddb91873835fe862dbafbf76da95 /core/modules
parentc7908f76b85943933bfbf0be046f42174a83f2c5 (diff)
downloaddrupal-a464b59b5e60b5a28f3192db5db488cb2c3b3d76.tar.gz
drupal-a464b59b5e60b5a28f3192db5db488cb2c3b3d76.zip
Issue #3483501 by dww, quietone, nlisgo, bbrala, godotislate, catch: Rename update module back to Update Status
Diffstat (limited to 'core/modules')
-rw-r--r--core/modules/help/help_topics/core.translations.html.twig2
-rw-r--r--core/modules/language/help_topics/language.add.html.twig2
-rw-r--r--core/modules/locale/locale.api.php4
-rw-r--r--core/modules/locale/locale.compare.inc10
-rw-r--r--core/modules/locale/locale.translation.inc11
-rw-r--r--core/modules/package_manager/src/InstalledPackage.php2
-rw-r--r--core/modules/package_manager/src/PackageManagerUpdateProcessor.php12
-rw-r--r--core/modules/package_manager/src/ProjectInfo.php10
-rw-r--r--core/modules/package_manager/tests/modules/package_manager_test_release_history/src/TestController.php2
-rw-r--r--core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php12
-rw-r--r--core/modules/package_manager/tests/src/Kernel/ProjectInfoTest.php12
-rw-r--r--core/modules/system/help_topics/system.reports.html.twig2
-rw-r--r--core/modules/system/src/Hook/SystemHooks.php4
-rw-r--r--core/modules/system/system.install2
-rw-r--r--core/modules/update/config/schema/update.schema.yml2
-rw-r--r--core/modules/update/css/update.admin.theme.css2
-rw-r--r--core/modules/update/src/Hook/UpdateHooks.php12
-rw-r--r--core/modules/update/tests/modules/aaa_update_test/aaa_update_test.info.yml2
-rw-r--r--core/modules/update/tests/modules/bbb_update_test/bbb_update_test.info.yml2
-rw-r--r--core/modules/update/tests/modules/ccc_update_test/ccc_update_test.info.yml2
-rw-r--r--core/modules/update/tests/modules/semver_test/semver_test.info.yml2
-rw-r--r--core/modules/update/tests/modules/update_test/src/Controller/UpdateTestController.php4
-rw-r--r--core/modules/update/tests/modules/update_test/src/Hook/UpdateTestHooks.php2
-rw-r--r--core/modules/update/tests/modules/update_test/update_test.info.yml2
-rw-r--r--core/modules/update/tests/src/Functional/UpdateContribTest.php8
-rw-r--r--core/modules/update/tests/src/Functional/UpdateMiscTest.php4
-rw-r--r--core/modules/update/tests/src/Functional/UpdateSemverContribBaselineTest.php2
-rw-r--r--core/modules/update/tests/src/Functional/UpdateSemverContribSecurityAvailabilityTest.php2
-rw-r--r--core/modules/update/tests/src/Functional/UpdateSemverContribTestBase.php2
-rw-r--r--core/modules/update/tests/src/Functional/UpdateSemverCoreBaselineTest.php2
-rw-r--r--core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityAvailabilityTest.php2
-rw-r--r--core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php2
-rw-r--r--core/modules/update/tests/src/Functional/UpdateSemverCoreTestBase.php2
-rw-r--r--core/modules/update/tests/src/Functional/UpdateSemverTestBaselineTrait.php6
-rw-r--r--core/modules/update/tests/src/Functional/UpdateSemverTestSecurityAvailabilityTrait.php4
-rw-r--r--core/modules/update/tests/src/Functional/UpdateTestBase.php2
-rw-r--r--core/modules/update/tests/src/Kernel/DevReleaseTest.php6
-rw-r--r--core/modules/update/tests/src/Kernel/UpdateCalculateProjectDataTest.php6
-rw-r--r--core/modules/update/tests/src/Kernel/UpdateStorageTest.php4
-rw-r--r--core/modules/update/update.api.php4
-rw-r--r--core/modules/update/update.info.yml4
-rw-r--r--core/modules/update/update.install2
-rw-r--r--core/modules/update/update.post_update.php2
-rw-r--r--core/modules/update/update.routing.yml2
44 files changed, 94 insertions, 93 deletions
diff --git a/core/modules/help/help_topics/core.translations.html.twig b/core/modules/help/help_topics/core.translations.html.twig
index a23289a5edd..962ee7b8e50 100644
--- a/core/modules/help/help_topics/core.translations.html.twig
+++ b/core/modules/help/help_topics/core.translations.html.twig
@@ -15,4 +15,4 @@ related:
<li>{% trans %}User interface text that is provided by the core software, your install profile, themes, and modules is provided in English, but can be translated into other languages. You can also download translations that community-members have provided.{% endtrans %}</li>
</ul>
<h2>{% trans %}Working with languages overview{% endtrans %}</h2>
-<p>{% trans %}The core Language module lets you add new languages to your site, provides the <em>Language switcher</em> block, and provides the ability to configure block visibility by language; the block and block visibility settings are only available if you have multiple languages configured. The core Content Translation, Configuration Translation, and Interface Translation modules let you translate content, configuration, and the built-in user interface, respectively. The core Update Manager module manages automatic downloads of community-provided translations of default configuration and user-interface text. See the related topics listed below for specific tasks.{% endtrans %}</p>
+<p>{% trans %}The core Language module lets you add new languages to your site, provides the <em>Language switcher</em> block, and provides the ability to configure block visibility by language; the block and block visibility settings are only available if you have multiple languages configured. The core Content Translation, Configuration Translation, and Interface Translation modules let you translate content, configuration, and the built-in user interface, respectively. The core Locale module manages automatic downloads of community-provided translations of default configuration and user-interface text if the core Update Status module is installed. See the related topics listed below for specific tasks.{% endtrans %}</p>
diff --git a/core/modules/language/help_topics/language.add.html.twig b/core/modules/language/help_topics/language.add.html.twig
index 12b94be1831..43926bd79c6 100644
--- a/core/modules/language/help_topics/language.add.html.twig
+++ b/core/modules/language/help_topics/language.add.html.twig
@@ -14,5 +14,5 @@ related:
<li>{% trans %}Click <em>Add language</em>.{% endtrans %}</li>
<li>{% trans %}If your language is in the <em>Language name</em> list, select it and click <em>Add language</em>.{% endtrans %}</li>
<li>{% trans %}If your language is not in the list, select <em>Custom language...</em> and enter the <em>Language code</em>, <em>Language name</em>, and <em>Direction</em> for the language. Click <em>Add custom language</em>.{% endtrans %}</li>
- <li>{% trans %}Wait for the translation system to be updated. Also, if you have the core Update Manager module installed and translations are available for your language, wait for translations to be downloaded. You should be returned to the <em>Languages</em> page when this completes.{% endtrans %}</li>
+ <li>{% trans %}Wait for the translation system to be updated. Also, if you have the core Update Status module installed and translations are available for your language, wait for translations to be downloaded. You should be returned to the <em>Languages</em> page when this completes.{% endtrans %}</li>
</ol>
diff --git a/core/modules/locale/locale.api.php b/core/modules/locale/locale.api.php
index 6ae4f4117a0..d965b692332 100644
--- a/core/modules/locale/locale.api.php
+++ b/core/modules/locale/locale.api.php
@@ -12,8 +12,8 @@
*
* For modules hosted on drupal.org, a project definition is automatically added
* to the .info.yml file. Only modules with this project definition are
- * discovered by the update module and use it to check for new releases. Locale
- * module uses the same data to build a list of modules to check for new
+ * discovered by the Update Status module and use it to check for new releases.
+ * Locale module uses the same data to build a list of modules to check for new
* translations. Therefore modules not hosted at drupal.org, such as custom
* modules, custom themes, features and distributions, need a way to identify
* themselves to the Locale module if they have translations that require to be
diff --git a/core/modules/locale/locale.compare.inc b/core/modules/locale/locale.compare.inc
index 18f90ae639b..a1ddbf61a4f 100644
--- a/core/modules/locale/locale.compare.inc
+++ b/core/modules/locale/locale.compare.inc
@@ -26,12 +26,12 @@ function locale_translation_flush_projects(): void {
/**
* Builds list of projects and stores the result in the database.
*
- * The project data is based on the project list supplied by the Update module.
- * Only the properties required by Locale module is included and additional
- * (custom) modules and translation server data is added.
+ * The project data is based on the project list supplied by the Update Status
+ * module. Only the properties required by Locale module is included and
+ * additional (custom) modules and translation server data is added.
*
- * In case the Update module is disabled this function will return an empty
- * array.
+ * In case the Update Status module is disabled this function will return an
+ * empty array.
*
* @return array
* Array of project data:
diff --git a/core/modules/locale/locale.translation.inc b/core/modules/locale/locale.translation.inc
index 246fe2e4bdb..7f48a5d3fa0 100644
--- a/core/modules/locale/locale.translation.inc
+++ b/core/modules/locale/locale.translation.inc
@@ -40,11 +40,12 @@ const LOCALE_TRANSLATION_SOURCE_COMPARE_GT = 1;
* This project data contains all projects which will be checked for available
* interface translations.
*
- * For full functionality this function depends on Update module.
- * When Update module is enabled the project data will contain the most recent
- * module status; both in enabled status as in version. When Update module is
- * disabled this function will return the last known module state. The status
- * will only be updated once Update module is enabled.
+ * For full functionality this function depends on the Update Status module.
+ * When the Update Status module is enabled the project data will contain the
+ * most recent module status; both in enabled status as in version. When the
+ * Update Status module is disabled this function will return the last known
+ * module state. The status will only be updated once the Update Status module
+ * is enabled.
*
* @param array $project_names
* Array of names of the projects to get.
diff --git a/core/modules/package_manager/src/InstalledPackage.php b/core/modules/package_manager/src/InstalledPackage.php
index 97a428d83fd..5d63557592c 100644
--- a/core/modules/package_manager/src/InstalledPackage.php
+++ b/core/modules/package_manager/src/InstalledPackage.php
@@ -70,7 +70,7 @@ final class InstalledPackage {
*/
public function getProjectName(): ?string {
// Only consider packages which are packaged by drupal.org and will be
- // known to the core Update module.
+ // known to the core Update Status module.
$drupal_package_types = [
'drupal-module',
'drupal-theme',
diff --git a/core/modules/package_manager/src/PackageManagerUpdateProcessor.php b/core/modules/package_manager/src/PackageManagerUpdateProcessor.php
index afb39e9f8ce..9c92f140676 100644
--- a/core/modules/package_manager/src/PackageManagerUpdateProcessor.php
+++ b/core/modules/package_manager/src/PackageManagerUpdateProcessor.php
@@ -15,15 +15,15 @@ use Drupal\update\UpdateFetcherInterface;
use Drupal\update\UpdateProcessor;
/**
- * Extends the Update module's update processor allow fetching any project.
+ * Extends the Update Status update processor allow fetching any project.
*
- * The Update module's update processor service is intended to only fetch
+ * The Update Status module's update processor service is intended to only fetch
* information for projects in the active codebase. Although it would be
- * possible to use the Update module's update processor service to fetch
+ * possible to use the Update Status module's update processor service to fetch
* information for projects not in the active code base this would add the
- * project information to Update module's cache which would result in these
- * projects being returned from the Update module's global functions such as
- * update_get_available().
+ * project information to Update Status module's cache which would result in
+ * these projects being returned from the Update Status module's global
+ * functions such as update_get_available().
*
* @internal
* This is an internal part of Package Manager and may be changed or removed
diff --git a/core/modules/package_manager/src/ProjectInfo.php b/core/modules/package_manager/src/ProjectInfo.php
index c574e5fb98e..1a7dbec634f 100644
--- a/core/modules/package_manager/src/ProjectInfo.php
+++ b/core/modules/package_manager/src/ProjectInfo.php
@@ -12,11 +12,11 @@ use Drupal\Core\Utility\Error;
use Drupal\update\UpdateManagerInterface;
/**
- * Defines a class for retrieving project information from Update module.
+ * Retrieves project information from the Update Status module.
*
* @internal
* This is an internal part of Automatic Updates and may be changed or removed
- * at any time without warning. External code should use the Update API
+ * at any time without warning. External code should use the Update Status API
* directly.
*/
final class ProjectInfo {
@@ -136,11 +136,11 @@ final class ProjectInfo {
}
/**
- * Returns the installed project version, according to the Update module.
+ * Returns the installed project version via the Update Status module.
*
* @return string|null
- * The installed project version as known to the Update module or NULL if
- * the project information is not available.
+ * The installed project version as known to the Update Status module, or
+ * NULL if the project information is not available.
*/
public function getInstalledVersion(): ?string {
$project_data = $this->getProjectInfo();
diff --git a/core/modules/package_manager/tests/modules/package_manager_test_release_history/src/TestController.php b/core/modules/package_manager/tests/modules/package_manager_test_release_history/src/TestController.php
index ef020048f1d..4f3f9832ed5 100644
--- a/core/modules/package_manager/tests/modules/package_manager_test_release_history/src/TestController.php
+++ b/core/modules/package_manager/tests/modules/package_manager_test_release_history/src/TestController.php
@@ -14,7 +14,7 @@ use Symfony\Component\HttpFoundation\Response;
class TestController extends ControllerBase {
/**
- * Page callback: Prints mock XML for the Update Manager module.
+ * Page callback: Prints mock XML for the Update Status module.
*
* @todo This is a wholesale copy of
* \Drupal\update_test\Controller\UpdateTestController::updateTest() for
diff --git a/core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php b/core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php
index a5320f2cc27..3c2e32b1e7c 100644
--- a/core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php
+++ b/core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php
@@ -118,9 +118,9 @@ abstract class PackageManagerKernelTestBase extends KernelTestBase {
$this->fileSystem = new Filesystem();
$this->createTestProject();
- // The Update module's default configuration must be installed for our
- // fake release metadata to be fetched, and the System module's to ensure
- // the site has a name.
+ // The Update Status module's default configuration must be installed for
+ // our fake release metadata to be fetched, and the System module's to
+ // ensure the site has a name.
$this->installConfig(['system', 'update']);
// Make the update system think that all of System's post-update functions
@@ -328,10 +328,10 @@ abstract class PackageManagerKernelTestBase extends KernelTestBase {
}
/**
- * Sets the current (running) version of core, as known to the Update module.
+ * Sets the current (running) version of core for the Update Status module.
*
- * @todo Remove this function with use of the trait from the Update module in
- * https://drupal.org/i/3348234.
+ * @todo Remove this function with use of the trait from the Update Status
+ * module in https://drupal.org/i/3348234.
*
* @param string $version
* The current version of core.
diff --git a/core/modules/package_manager/tests/src/Kernel/ProjectInfoTest.php b/core/modules/package_manager/tests/src/Kernel/ProjectInfoTest.php
index 16bb603b189..6817f0b4fca 100644
--- a/core/modules/package_manager/tests/src/Kernel/ProjectInfoTest.php
+++ b/core/modules/package_manager/tests/src/Kernel/ProjectInfoTest.php
@@ -39,11 +39,11 @@ class ProjectInfoTest extends PackageManagerKernelTestBase {
'version' => $installed_version,
'project' => 'package_manager_test_update',
];
- // @todo Replace with use of the trait from the Update module in https://drupal.org/i/3348234.
+ // @todo Replace with use of the trait from the Update Status module in https://drupal.org/i/3348234.
$this->config('update_test.settings')
->set("system_info.$project", $extension_info_update)
->save();
- // The Update module will always request Drupal core's update XML.
+ // The Update Status module will always request Drupal core's update XML.
$metadata_fixtures['drupal'] = $fixtures_directory . 'drupal.9.8.2.xml';
}
$metadata_fixtures[$project] = "$fixtures_directory$fixture";
@@ -138,8 +138,8 @@ class ProjectInfoTest extends PackageManagerKernelTestBase {
$this->assertSame(['drupal'], array_keys($available));
$this->setReleaseMetadata($metadata_fixtures);
$state = $this->container->get('state');
- // Set the state that the update module uses to store last checked time
- // ensure our calls do not affect it.
+ // Set the state that the Update Status module uses to store last checked
+ // time ensure our calls do not affect it.
$state->set('update.last_check', 123);
$project_info = new ProjectInfo('package_manager_test_update');
$project_data = $project_info->getProjectInfo();
@@ -168,8 +168,8 @@ class ProjectInfoTest extends PackageManagerKernelTestBase {
array_keys($project_info->getInstallableReleases())
);
$this->assertNull($project_info->getInstalledVersion());
- // Ensure we have not changed the state the update module uses to store
- // the last checked time.
+ // Ensure we have not changed the state the Update Status module uses to
+ // store the last checked time.
$this->assertSame(123, $state->get('update.last_check'));
$this->assertTrue($this->failureLogger->hasRecordThatContains('Invalid project format: Array', (string) RfcLogLevel::ERROR));
diff --git a/core/modules/system/help_topics/system.reports.html.twig b/core/modules/system/help_topics/system.reports.html.twig
index 91358757c34..80bbee1a40a 100644
--- a/core/modules/system/help_topics/system.reports.html.twig
+++ b/core/modules/system/help_topics/system.reports.html.twig
@@ -13,7 +13,7 @@ related:
<ol>
<li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Reports</em> &gt; <em>{{ status_link }}</em> to see a report that summarizes the health and status of your site. If there are any warnings or errors, you will need to fix them. Take note of any upcoming highly critical security releases that may impact your site.{% endtrans %}</li>
<li>{% trans %}If you have the core Database Logging module installed, in the <em>Manage</em> administrative menu, navigate to <em>Reports</em> &gt; <em>Recent log messages</em> to see a report of the error and informational messages your site has generated. You can filter the report by <em>Severity</em> to see only the most critical messages, if desired.{% endtrans %}</li>
- <li>{% trans %}If you have the core Update Manager module installed, in the <em>Manage</em> administrative menu, navigate to <em>Reports</em> &gt; <em>Available updates</em> to see a report of the updates that are available for your site software. If <em>Last checked</em> is far in the past, click <em>Check manually</em> to update the report. Scan the report; if the core software or any modules or themes have security updates available, you should update them as soon as possible.{% endtrans %}</li>
+ <li>{% trans %}If you have the core Update Status module installed, in the <em>Manage</em> administrative menu, navigate to <em>Reports</em> &gt; <em>Available updates</em> to see a report of the updates that are available for your site software. If <em>Last checked</em> is far in the past, click <em>Check manually</em> to update the report. Scan the report; if the core software or any modules or themes have security updates available, you should update them as soon as possible.{% endtrans %}</li>
</ol>
<h2>{% trans %}Additional resources{% endtrans %}</h2>
<ul>
diff --git a/core/modules/system/src/Hook/SystemHooks.php b/core/modules/system/src/Hook/SystemHooks.php
index de86321a3b4..ae3e8d71074 100644
--- a/core/modules/system/src/Hook/SystemHooks.php
+++ b/core/modules/system/src/Hook/SystemHooks.php
@@ -122,9 +122,9 @@ class SystemHooks {
case 'system.modules_list':
$output = '<p>' . $this->t('Add <a href=":modules">contributed modules</a> to extend your site\'s functionality.', [':modules' => 'https://www.drupal.org/project/modules']) . '</p>';
if (!\Drupal::moduleHandler()->moduleExists('update')) {
- $output .= '<p>' . $this->t('Regularly review available updates and update as required to maintain a secure and current site. Always run the <a href=":update-php">update script</a> each time a module is updated. Install the <a href=":update-manager">Update Manager module</a> to update modules and themes.', [
+ $output .= '<p>' . $this->t('Regularly review available updates and update as required to maintain a secure and current site. Always run the <a href=":update-php">update script</a> each time a module is updated. Install the <a href=":update-status">Update Status module</a> to see a report of available releases for Drupal Core and contributed modules and themes.', [
':update-php' => Url::fromRoute('system.db_update')->toString(),
- ':update-manager' => Url::fromRoute('system.modules_list', [], [
+ ':update-status' => Url::fromRoute('system.modules_list', [], [
'fragment' => 'module-update',
])->toString(),
]) . '</p>';
diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index bef2a6a24ed..f91255f2f1c 100644
--- a/core/modules/system/system.install
+++ b/core/modules/system/system.install
@@ -1300,7 +1300,7 @@ function system_requirements($phase): array {
$requirements['update status'] = [
'value' => t('Not enabled'),
'severity' => REQUIREMENT_WARNING,
- 'description' => t('Update notifications are not enabled. It is <strong>highly recommended</strong> that you install the Update Manager module from the <a href=":module">module administration page</a> in order to stay up-to-date on new releases. For more information, <a href=":update">Update status handbook page</a>.', [
+ 'description' => t('Update notifications are not enabled. It is <strong>highly recommended</strong> that you install the Update Status module from the <a href=":module">module administration page</a> in order to stay up-to-date on new releases. For more information, <a href=":update">Update status handbook page</a>.', [
':update' => 'https://www.drupal.org/documentation/modules/update',
':module' => Url::fromRoute('system.modules_list')->toString(),
]),
diff --git a/core/modules/update/config/schema/update.schema.yml b/core/modules/update/config/schema/update.schema.yml
index 9344316517b..313911bd08e 100644
--- a/core/modules/update/config/schema/update.schema.yml
+++ b/core/modules/update/config/schema/update.schema.yml
@@ -1,4 +1,4 @@
-# Schema for the configuration files of the Update module.
+# Schema for the configuration files of the Update Status module.
update.settings:
type: config_object
diff --git a/core/modules/update/css/update.admin.theme.css b/core/modules/update/css/update.admin.theme.css
index 602388001c5..b94e4adca37 100644
--- a/core/modules/update/css/update.admin.theme.css
+++ b/core/modules/update/css/update.admin.theme.css
@@ -1,6 +1,6 @@
/**
* @file
- * Styles used by the Update Manager module.
+ * Styles used by the Update Status module.
*/
.project-update__title {
diff --git a/core/modules/update/src/Hook/UpdateHooks.php b/core/modules/update/src/Hook/UpdateHooks.php
index c973db7b95f..293882f0124 100644
--- a/core/modules/update/src/Hook/UpdateHooks.php
+++ b/core/modules/update/src/Hook/UpdateHooks.php
@@ -24,14 +24,14 @@ class UpdateHooks {
case 'help.page.update':
$output = '';
$output .= '<h2>' . $this->t('About') . '</h2>';
- $output .= '<p>' . $this->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 uninstall 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>.', [
+ $output .= '<p>' . $this->t('The Update Status module periodically checks for new versions of your site\'s software (including contributed modules and themes), and alerts administrators to available updates. The Update Status system is also used by some other modules to manage updates and downloads; for example, the Interface Translation module uses the Update Status to download translations from the localization server. Note that whenever the Update Status system is used, anonymous usage statistics are sent to Drupal.org. If desired, you may uninstall the Update Status module from the <a href=":modules">Extend page</a>; if you do so, functionality that depends on the Update Status system will not work. For more information, see the <a href=":update">online documentation for the Update Status module</a>.', [
':update' => 'https://www.drupal.org/documentation/modules/update',
':modules' => Url::fromRoute('system.modules_list')->toString(),
]) . '</p>';
$output .= '<h2>' . $this->t('Uses') . '</h2>';
$output .= '<dl>';
$output .= '<dt>' . $this->t('Checking for available updates') . '</dt>';
- $output .= '<dd>' . $this->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>.', [
+ $output .= '<dd>' . $this->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 Status settings page</a>.', [
':update-report' => Url::fromRoute('update.status')->toString(),
':update-settings' => Url::fromRoute('update.settings')->toString(),
]) . '</dd>';
@@ -190,7 +190,7 @@ class UpdateHooks {
*/
#[Hook('themes_installed')]
public function themesInstalled($themes): void {
- // Clear all update module data.
+ // Clear all Update Status module data.
update_storage_clear();
}
@@ -202,7 +202,7 @@ class UpdateHooks {
*/
#[Hook('themes_uninstalled')]
public function themesUninstalled($themes): void {
- // Clear all update module data.
+ // Clear all Update Status module data.
update_storage_clear();
}
@@ -214,7 +214,7 @@ class UpdateHooks {
*/
#[Hook('modules_installed')]
public function modulesInstalled($modules): void {
- // Clear all update module data.
+ // Clear all Update Status module data.
update_storage_clear();
}
@@ -226,7 +226,7 @@ class UpdateHooks {
*/
#[Hook('modules_uninstalled')]
public function modulesUninstalled($modules): void {
- // Clear all update module data.
+ // Clear all Update Status module data.
update_storage_clear();
}
diff --git a/core/modules/update/tests/modules/aaa_update_test/aaa_update_test.info.yml b/core/modules/update/tests/modules/aaa_update_test/aaa_update_test.info.yml
index ee90601b12d..b3e71644e6f 100644
--- a/core/modules/update/tests/modules/aaa_update_test/aaa_update_test.info.yml
+++ b/core/modules/update/tests/modules/aaa_update_test/aaa_update_test.info.yml
@@ -1,4 +1,4 @@
name: 'AAA Update test'
type: module
-description: 'Support module for update module testing.'
+description: 'Support module for Update Status module testing.'
package: Testing
diff --git a/core/modules/update/tests/modules/bbb_update_test/bbb_update_test.info.yml b/core/modules/update/tests/modules/bbb_update_test/bbb_update_test.info.yml
index 716cb120da1..cd94c1747e2 100644
--- a/core/modules/update/tests/modules/bbb_update_test/bbb_update_test.info.yml
+++ b/core/modules/update/tests/modules/bbb_update_test/bbb_update_test.info.yml
@@ -1,4 +1,4 @@
name: 'BBB Update test'
type: module
-description: 'Support module for update module testing.'
+description: 'Support module for Update Status module testing.'
package: Testing
diff --git a/core/modules/update/tests/modules/ccc_update_test/ccc_update_test.info.yml b/core/modules/update/tests/modules/ccc_update_test/ccc_update_test.info.yml
index 5a9b72d52ff..9bd414584f3 100644
--- a/core/modules/update/tests/modules/ccc_update_test/ccc_update_test.info.yml
+++ b/core/modules/update/tests/modules/ccc_update_test/ccc_update_test.info.yml
@@ -1,4 +1,4 @@
name: 'CCC Update test'
type: module
-description: 'Support module for update module testing.'
+description: 'Support module for Update Status module testing.'
package: Testing
diff --git a/core/modules/update/tests/modules/semver_test/semver_test.info.yml b/core/modules/update/tests/modules/semver_test/semver_test.info.yml
index b18eb3082f2..779974a377a 100644
--- a/core/modules/update/tests/modules/semver_test/semver_test.info.yml
+++ b/core/modules/update/tests/modules/semver_test/semver_test.info.yml
@@ -1,4 +1,4 @@
name: 'Semver Test'
type: module
-description: 'Support module for update module testing.'
+description: 'Support module for Update Status module testing.'
package: Testing
diff --git a/core/modules/update/tests/modules/update_test/src/Controller/UpdateTestController.php b/core/modules/update/tests/modules/update_test/src/Controller/UpdateTestController.php
index 5460f0297c5..e4e8ead5d5f 100644
--- a/core/modules/update/tests/modules/update_test/src/Controller/UpdateTestController.php
+++ b/core/modules/update/tests/modules/update_test/src/Controller/UpdateTestController.php
@@ -28,7 +28,7 @@ class UpdateTestController extends ControllerBase {
}
/**
- * Page callback: Prints mock XML for the Update Manager module.
+ * Page callback: Prints mock XML for the Update Status module.
*
* The specific XML file to print depends on two things: the project we're
* trying to fetch data for, and the desired "availability scenario" for that
@@ -38,7 +38,7 @@ class UpdateTestController extends ControllerBase {
* name, indicating which availability scenario to use for that project.
*
* @param string $project_name
- * The project short name the update manager is trying to fetch data for
+ * The project short name Update Status is trying to fetch data for
* (the fetch URLs are of the form:
* [base_url]/[project_name]/[core_version]).
* @param string $version
diff --git a/core/modules/update/tests/modules/update_test/src/Hook/UpdateTestHooks.php b/core/modules/update/tests/modules/update_test/src/Hook/UpdateTestHooks.php
index 42941bcb464..8d1a01531a2 100644
--- a/core/modules/update/tests/modules/update_test/src/Hook/UpdateTestHooks.php
+++ b/core/modules/update/tests/modules/update_test/src/Hook/UpdateTestHooks.php
@@ -69,7 +69,7 @@ class UpdateTestHooks {
public function filetransferInfo(): array {
// Define a test file transfer method, to ensure that there will always be
// at least one method available in the user interface (regardless of the
- // environment in which the update manager tests are run).
+ // environment in which Update Status tests are run).
return [
'system_test' => [
'title' => 'Update Test FileTransfer',
diff --git a/core/modules/update/tests/modules/update_test/update_test.info.yml b/core/modules/update/tests/modules/update_test/update_test.info.yml
index 83c92afb85a..21c2ae98cde 100644
--- a/core/modules/update/tests/modules/update_test/update_test.info.yml
+++ b/core/modules/update/tests/modules/update_test/update_test.info.yml
@@ -1,4 +1,4 @@
name: 'Update test'
type: module
-description: 'Support module for update module testing.'
+description: 'Support module for Update Status module testing.'
package: Testing
diff --git a/core/modules/update/tests/src/Functional/UpdateContribTest.php b/core/modules/update/tests/src/Functional/UpdateContribTest.php
index be3b512e00d..b2e2f21bd50 100644
--- a/core/modules/update/tests/src/Functional/UpdateContribTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateContribTest.php
@@ -8,7 +8,7 @@ use Drupal\Core\Utility\ProjectInfo;
use Drupal\update\UpdateManagerInterface;
/**
- * Tests how the Update Manager handles contributed modules and themes.
+ * Tests how Update Status handles contributed modules and themes.
*
* @group update
* @group #slow
@@ -241,7 +241,7 @@ class UpdateContribTest extends UpdateTestBase {
}
/**
- * Tests the Update Manager module when one normal update is available.
+ * Tests the Update Status module when one normal update is available.
*/
public function testNormalUpdateAvailable(): void {
$assert_session = $this->assertSession();
@@ -536,12 +536,12 @@ class UpdateContribTest extends UpdateTestBase {
$this->assertSession()->linkExists('AAA Update test');
$this->assertSession()->linkByHrefExists('http://example.com/project/aaa_update_test');
- // Turn the altering back on and visit the Update manager UI.
+ // Turn the altering back on and visit the Update Status UI.
$update_test_config->set('update_status', $update_status)->save();
$this->drupalGet('admin/reports/updates');
$this->assertSession()->pageTextContains('Security update');
- // Turn the altering back off and visit the Update manager UI.
+ // Turn the altering back off and visit the Update Status UI.
$update_test_config->set('update_status', [])->save();
$this->drupalGet('admin/reports/updates');
$this->assertSession()->pageTextNotContains('Security update');
diff --git a/core/modules/update/tests/src/Functional/UpdateMiscTest.php b/core/modules/update/tests/src/Functional/UpdateMiscTest.php
index da1029cd6e0..5b544ea36b0 100644
--- a/core/modules/update/tests/src/Functional/UpdateMiscTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateMiscTest.php
@@ -8,7 +8,7 @@ use Drupal\Core\Url;
use Drupal\Tests\Traits\Core\CronRunTrait;
/**
- * Tests general functionality of the Update module.
+ * Tests general functionality of the Update Status module.
*
* @group update
*/
@@ -58,7 +58,7 @@ class UpdateMiscTest extends UpdateTestBase {
}
/**
- * Tests the Update Manager module when the update server returns 503 errors.
+ * Tests the Update Status module when the update server returns 503 errors.
*/
public function testServiceUnavailable(): void {
$admin_user = $this->drupalCreateUser([
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverContribBaselineTest.php b/core/modules/update/tests/src/Functional/UpdateSemverContribBaselineTest.php
index 1f8ac3d66f7..02306818bc0 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverContribBaselineTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverContribBaselineTest.php
@@ -5,7 +5,7 @@ declare(strict_types=1);
namespace Drupal\Tests\update\Functional;
/**
- * Tests the Update Manager module with a contrib module with semver versions.
+ * Tests the Update Status module with a contrib module with semver versions.
*
* @group update
*/
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverContribSecurityAvailabilityTest.php b/core/modules/update/tests/src/Functional/UpdateSemverContribSecurityAvailabilityTest.php
index 6dd653caeae..42d5387ca2c 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverContribSecurityAvailabilityTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverContribSecurityAvailabilityTest.php
@@ -5,7 +5,7 @@ declare(strict_types=1);
namespace Drupal\Tests\update\Functional;
/**
- * Tests Update Manager with a security update available for a contrib project.
+ * Tests Update Status with a security update available for a contrib project.
*
* @group update
*/
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverContribTestBase.php b/core/modules/update/tests/src/Functional/UpdateSemverContribTestBase.php
index 032daf3ae9d..2f5c7c038b9 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverContribTestBase.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverContribTestBase.php
@@ -5,7 +5,7 @@ declare(strict_types=1);
namespace Drupal\Tests\update\Functional;
/**
- * Base class for Update manager semantic versioning tests of contrib projects.
+ * Base class for Update Status semantic versioning tests of contrib projects.
*
* This wires up the protected data from UpdateSemverTestBase for a contrib
* module with semantic version releases.
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverCoreBaselineTest.php b/core/modules/update/tests/src/Functional/UpdateSemverCoreBaselineTest.php
index 271f47df23e..465e9007473 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverCoreBaselineTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverCoreBaselineTest.php
@@ -5,7 +5,7 @@ declare(strict_types=1);
namespace Drupal\Tests\update\Functional;
/**
- * Tests semantic version handling in the Update Manager for Drupal core.
+ * Tests semantic version handling in the Update Status module for Drupal core.
*
* @group update
*/
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityAvailabilityTest.php b/core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityAvailabilityTest.php
index 4b64e54a943..9bae54eb077 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityAvailabilityTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityAvailabilityTest.php
@@ -5,7 +5,7 @@ declare(strict_types=1);
namespace Drupal\Tests\update\Functional;
/**
- * Tests Update Manager with a security update available for Drupal core.
+ * Tests Update Status with a security update available for Drupal core.
*
* @group update
*/
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php b/core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php
index e728c1db13d..df47c0b9762 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php
@@ -39,7 +39,7 @@ class UpdateSemverCoreTest extends UpdateSemverCoreTestBase {
}
/**
- * Tests the Update Manager module when the update server returns 503 errors.
+ * Tests the Update Status module when the update server returns 503 errors.
*/
public function testServiceUnavailable(): void {
$this->refreshUpdateStatus([], '503-error');
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverCoreTestBase.php b/core/modules/update/tests/src/Functional/UpdateSemverCoreTestBase.php
index 1f89a658fda..b9d3a46a68e 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverCoreTestBase.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverCoreTestBase.php
@@ -5,7 +5,7 @@ declare(strict_types=1);
namespace Drupal\Tests\update\Functional;
/**
- * Base class for Update manager semantic versioning tests of Drupal core.
+ * Base class for Update Status semantic versioning tests of Drupal core.
*
* This wires up the protected data from UpdateSemverTestBase for Drupal core
* with semantic version releases.
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverTestBaselineTrait.php b/core/modules/update/tests/src/Functional/UpdateSemverTestBaselineTrait.php
index db0b33ae997..4d503fa68b8 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverTestBaselineTrait.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverTestBaselineTrait.php
@@ -16,7 +16,7 @@ use Drupal\Core\Url;
trait UpdateSemverTestBaselineTrait {
/**
- * Tests the Update Manager module when no updates are available.
+ * Tests the Update Status module when no updates are available.
*
* The XML fixture file 'drupal.8.1.0.xml' which is one of the XML files this
* test uses also contains 2 extra releases that are newer than '8.0.1'. These
@@ -46,7 +46,7 @@ trait UpdateSemverTestBaselineTrait {
}
/**
- * Tests the Update Manager module when one normal update is available.
+ * Tests the Update Status module when one normal update is available.
*/
public function testNormalUpdateAvailable(): void {
$this->setProjectInstalledVersion('8.0.0');
@@ -119,7 +119,7 @@ trait UpdateSemverTestBaselineTrait {
}
/**
- * Tests the Update Manager module when major updates are available.
+ * Tests the Update Status module when major updates are available.
*
* This includes testing when the next major is available as well as when both
* the current major version and the next major version are supported. There
diff --git a/core/modules/update/tests/src/Functional/UpdateSemverTestSecurityAvailabilityTrait.php b/core/modules/update/tests/src/Functional/UpdateSemverTestSecurityAvailabilityTrait.php
index 3a5ca885985..e3058bed34e 100644
--- a/core/modules/update/tests/src/Functional/UpdateSemverTestSecurityAvailabilityTrait.php
+++ b/core/modules/update/tests/src/Functional/UpdateSemverTestSecurityAvailabilityTrait.php
@@ -10,7 +10,7 @@ namespace Drupal\Tests\update\Functional;
trait UpdateSemverTestSecurityAvailabilityTrait {
/**
- * Tests the update manager when a security update is available.
+ * Tests Update Status when a security update is available.
*/
public function testSecurityUpdateAvailability(): void {
foreach (static::securityUpdateAvailabilityProvider() as $case) {
@@ -19,7 +19,7 @@ trait UpdateSemverTestSecurityAvailabilityTrait {
}
/**
- * Tests the Update Manager module when a security update is available.
+ * Tests the Update Status module when a security update is available.
*
* @param string $site_patch_version
* The patch version to set the site to for testing.
diff --git a/core/modules/update/tests/src/Functional/UpdateTestBase.php b/core/modules/update/tests/src/Functional/UpdateTestBase.php
index 9dc5fe053d6..e4b97e2ed7e 100644
--- a/core/modules/update/tests/src/Functional/UpdateTestBase.php
+++ b/core/modules/update/tests/src/Functional/UpdateTestBase.php
@@ -75,7 +75,7 @@ abstract class UpdateTestBase extends BrowserTestBase {
* @see \Drupal\update_test\Controller\UpdateTestController::updateTest()
*/
protected function refreshUpdateStatus($xml_map, $url = 'update-test') {
- // Tell the Update Manager module to fetch from the URL provided by
+ // Tell the Update Status module to fetch from the URL provided by
// update_test module.
$this->config('update.settings')->set('fetch.url', Url::fromUri('base:' . $url, ['absolute' => TRUE])->toString())->save();
// Save the map for UpdateTestController::updateTest() to use.
diff --git a/core/modules/update/tests/src/Kernel/DevReleaseTest.php b/core/modules/update/tests/src/Kernel/DevReleaseTest.php
index 8b3cc58cc1f..286af6a06e3 100644
--- a/core/modules/update/tests/src/Kernel/DevReleaseTest.php
+++ b/core/modules/update/tests/src/Kernel/DevReleaseTest.php
@@ -36,8 +36,8 @@ class DevReleaseTest extends KernelTestBase {
protected function setUp(): void {
parent::setUp();
- // The Update module's default configuration must be installed for our
- // fake release metadata to be fetched.
+ // The Update Status module's default configuration must be installed for
+ // our fake release metadata to be fetched.
$this->installConfig('update');
$this->installConfig('update_test');
$this->setCoreVersion('8.1.0-dev');
@@ -46,7 +46,7 @@ class DevReleaseTest extends KernelTestBase {
}
/**
- * Sets the current (running) version of core, as known to the Update module.
+ * Sets the current version of core, as known to the Update Status module.
*
* @param string $version
* The current version of core.
diff --git a/core/modules/update/tests/src/Kernel/UpdateCalculateProjectDataTest.php b/core/modules/update/tests/src/Kernel/UpdateCalculateProjectDataTest.php
index e56b73c2d12..2705d6bd689 100644
--- a/core/modules/update/tests/src/Kernel/UpdateCalculateProjectDataTest.php
+++ b/core/modules/update/tests/src/Kernel/UpdateCalculateProjectDataTest.php
@@ -37,8 +37,8 @@ class UpdateCalculateProjectDataTest extends KernelTestBase {
protected function setUp(): void {
parent::setUp();
- // The Update module's default configuration must be installed for our
- // fake release metadata to be fetched.
+ // The Update Status module's default configuration must be installed for
+ // our fake release metadata to be fetched.
$this->installConfig('update');
$this->installConfig('update_test');
$this->setCoreVersion('8.0.1');
@@ -46,7 +46,7 @@ class UpdateCalculateProjectDataTest extends KernelTestBase {
}
/**
- * Sets the installed version of core, as known to the Update module.
+ * Sets the installed version of core, as known to the Update Status module.
*
* @param string $version
* The core version.
diff --git a/core/modules/update/tests/src/Kernel/UpdateStorageTest.php b/core/modules/update/tests/src/Kernel/UpdateStorageTest.php
index 0e486d3ca18..256fb0ea8ac 100644
--- a/core/modules/update/tests/src/Kernel/UpdateStorageTest.php
+++ b/core/modules/update/tests/src/Kernel/UpdateStorageTest.php
@@ -7,7 +7,7 @@ namespace Drupal\Tests\update\Kernel;
use Drupal\KernelTests\KernelTestBase;
/**
- * Tests the Update module storage is cleared correctly.
+ * Tests the Update Status module storage is cleared correctly.
*
* @group update
*/
@@ -21,7 +21,7 @@ class UpdateStorageTest extends KernelTestBase {
];
/**
- * Tests the Update module storage is cleared correctly.
+ * Tests the Update Status module storage is cleared correctly.
*/
public function testUpdateStorage(): void {
// Setting values in both key stores, then installing the module and
diff --git a/core/modules/update/update.api.php b/core/modules/update/update.api.php
index 093c4cf78e6..817a313aa6b 100644
--- a/core/modules/update/update.api.php
+++ b/core/modules/update/update.api.php
@@ -2,7 +2,7 @@
/**
* @file
- * Hooks provided by the Update Manager module.
+ * Hooks provided by the Update Status module.
*/
use Drupal\update\UpdateFetcherInterface;
@@ -16,7 +16,7 @@ use Drupal\update\UpdateFetcherInterface;
* Alter the list of projects before fetching data and comparing versions.
*
* Most modules will never need to implement this hook. It is for advanced
- * interaction with the Update Manager module. The primary use-case for this
+ * interaction with the Update Status module. The primary use-case for this
* hook is to add projects to the list; for example, to provide update status
* data on uninstalled modules and themes. A contributed module might want to
* hide projects from the list; for example, if there is a site-specific module
diff --git a/core/modules/update/update.info.yml b/core/modules/update/update.info.yml
index 684c544b39e..1e5edcda9f2 100644
--- a/core/modules/update/update.info.yml
+++ b/core/modules/update/update.info.yml
@@ -1,6 +1,6 @@
-name: 'Update Manager'
+name: 'Update Status'
type: module
-description: 'Checks for updates and allows users to manage them through a user interface.'
+description: 'Checks for updates and can notify users if there are new releases available.'
version: VERSION
package: Core
configure: update.settings
diff --git a/core/modules/update/update.install b/core/modules/update/update.install
index 4d0b34e3138..2981ea91373 100644
--- a/core/modules/update/update.install
+++ b/core/modules/update/update.install
@@ -2,7 +2,7 @@
/**
* @file
- * Install, update, and uninstall functions for the Update Manager module.
+ * Install, update, and uninstall functions for the Update Status module.
*/
use Drupal\Core\Hook\Attribute\StopProceduralHookScan;
diff --git a/core/modules/update/update.post_update.php b/core/modules/update/update.post_update.php
index ffd5bcb2c76..3462899d989 100644
--- a/core/modules/update/update.post_update.php
+++ b/core/modules/update/update.post_update.php
@@ -2,7 +2,7 @@
/**
* @file
- * Post update functions for Update Manager.
+ * Post update functions for Update Status.
*/
/**
diff --git a/core/modules/update/update.routing.yml b/core/modules/update/update.routing.yml
index 64ffe3cc217..bd78a06fcfc 100644
--- a/core/modules/update/update.routing.yml
+++ b/core/modules/update/update.routing.yml
@@ -2,7 +2,7 @@ update.settings:
path: '/admin/reports/updates/settings'
defaults:
_form: '\Drupal\update\UpdateSettingsForm'
- _title: 'Update Manager settings'
+ _title: 'Update Status settings'
requirements:
_permission: 'administer site configuration'