Skip to content
Snippets Groups Projects
Verified Commit e8237237 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3441010 by catch, longwave, larowlan, dpi, dqd, geek-merlin, el7cosmos:...

Issue #3441010 by catch, longwave, larowlan, dpi, dqd, geek-merlin, el7cosmos: Container compile crash when a service decorates a destructable service
parent e4c14cfd
No related branches found
No related tags found
No related merge requests found
......@@ -5,13 +5,12 @@
use Drupal\Component\Graph\Graph;
use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\DestructableInterface;
use Drupal\Core\Extension\Exception\UnknownExtensionException;
/**
* Class that manages modules in a Drupal installation.
*/
class ModuleHandler implements ModuleHandlerInterface, DestructableInterface {
class ModuleHandler implements ModuleHandlerInterface {
/**
* List of loaded files.
......
......@@ -2,6 +2,8 @@
namespace Drupal\Core\Extension;
use Drupal\Core\DestructableInterface;
/**
* Interface for classes that manage a set of enabled modules.
*
......@@ -9,7 +11,7 @@
* responsible for loading module files and maintaining information about module
* dependencies and hook implementations.
*/
interface ModuleHandlerInterface {
interface ModuleHandlerInterface extends DestructableInterface {
/**
* Includes a module's .module file.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment