diff --git a/web/modules/custom/talks/src/OpdaviesTalksServiceProvider.php b/web/modules/custom/talks/src/OpdaviesTalksServiceProvider.php deleted file mode 100644 index 5cee195..0000000 --- a/web/modules/custom/talks/src/OpdaviesTalksServiceProvider.php +++ /dev/null @@ -1,39 +0,0 @@ -in(__DIR__ . '/' . $directory) - ->files() - ->name('*.php'); - - foreach ($files as $file) { - $class = 'Drupal\opdavies_talks\\' . $directory . '\\' . - str_replace('/', '\\', substr($file->getRelativePathname(), 0, -4)); - - if ($container->hasDefinition($class)) { - continue; - } - - $definition = new Definition($class); - $definition->setAutowired(TRUE); - if ($directory == 'EventSubscriber') { - $definition->addTag('event_subscriber'); - } - $container->setDefinition($class, $definition); - } - } - } - -}