Initial Drupal 11 with DDEV setup

This commit is contained in:
gluebox
2025-10-08 11:39:17 -04:00
commit 89ef74b305
25344 changed files with 2599172 additions and 0 deletions

View File

@ -0,0 +1,35 @@
<?php
/**
* @file
* Install, update, and uninstall functions for the Update Status module.
*/
use Drupal\Core\Hook\Attribute\ProceduralHookScanStop;
/**
* Implements hook_install().
*/
#[ProceduralHookScanStop]
function update_install(): void {
$queue = \Drupal::queue('update_fetch_tasks', TRUE);
$queue->createQueue();
}
/**
* Implements hook_uninstall().
*/
function update_uninstall(): void {
\Drupal::state()->delete('update.last_check');
\Drupal::state()->delete('update.last_email_notification');
$queue = \Drupal::queue('update_fetch_tasks');
$queue->deleteQueue();
}
/**
* Implements hook_update_last_removed().
*/
function update_update_last_removed(): int {
return 8001;
}