summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/update/update.fetch.inc
diff options
context:
space:
mode:
authorLee Rowlands <lee.rowlands@previousnext.com.au>2025-05-01 07:59:47 +1000
committerLee Rowlands <lee.rowlands@previousnext.com.au>2025-05-01 07:59:47 +1000
commit308ad15102479e2a2020d12a46bcf898959f68e1 (patch)
treefac977265393e638bd99ceb10ee6cce625791261 /core/modules/update/update.fetch.inc
parent6810f24aef13523c17d35d753cadb42ac5b9a0fc (diff)
downloaddrupal-308ad15102479e2a2020d12a46bcf898959f68e1.tar.gz
drupal-308ad15102479e2a2020d12a46bcf898959f68e1.zip
Issue #3495943 by nicxvan, berdir, ghost of drupal past, catch, larowlan: Handle module preprocess functions as OOP hooks
Diffstat (limited to 'core/modules/update/update.fetch.inc')
-rw-r--r--core/modules/update/update.fetch.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/update/update.fetch.inc b/core/modules/update/update.fetch.inc
index 2c828cc3e7f..296dfbd3d06 100644
--- a/core/modules/update/update.fetch.inc
+++ b/core/modules/update/update.fetch.inc
@@ -4,7 +4,7 @@
* @file
*/
-use Drupal\Core\Hook\Attribute\StopProceduralHookScan;
+use Drupal\Core\Hook\Attribute\ProceduralHookScanStop;
use Drupal\update\UpdateManagerInterface;
/**
@@ -16,7 +16,7 @@ use Drupal\update\UpdateManagerInterface;
*
* @see update_requirements()
*/
-#[StopProceduralHookScan]
+#[ProceduralHookScanStop]
function _update_cron_notify(): void {
$update_config = \Drupal::config('update.settings');
\Drupal::moduleHandler()->loadInclude('update', 'install');