- Issue created by @interlated
- ๐ฎ๐ณIndia prem suthar Ahemdabad- Gujrat , Jodhpur - Rajsthan
prem suthar โ made their first commit to this issueโs fork.
- ๐ฆ๐บAustralia interlated
Needs more work. Got error 'PHP message: Drupal\\Core\\DependencyInjection\\ContainerNotInitializedException: \\Drupal::$container is not initialized yet. \\Drupal::setContainer() must be called with a real container. in /web/core/lib/Drupal.php on line 169 #0 /web/core/lib/Drupal.php(197): Drupal::getContainer()\n#1 /web/modules/patched/delete_all/delete_all.module(10): Drupal::service('extension.list....')\n#2 /1/web/core/lib/Drupal/Core/Hook/HookCollectorPass.php(184): include_once('...')\n#3 /web/core/lib/Drupal/Core/Hook/HookCollectorPass.php(147): Drupal\\Core\\Hook\\HookCollectorPass->collectModuleHookImplementations('modules/patched...', 'delete_all', '/^(?(...', false)\n#4/web/core/lib/Drupal/Core/Hook/HookCollectorPass.php(78): Drupal\\Core\\Hook\\HookCollectorPass::collectAll...'
- ๐ฆ๐บAustralia interlated
include_once __DIR__ . '/includes/delete_all.content.batch.inc';
include_once __DIR__ . '/includes/delete_all.entities.batch.inc';
include_once __DIR__ . '/includes/delete_all.user.batch.inc';Fixes it. Probably should be changed to be more OO?