Verified Commit d0f39b40 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

(cherry picked from commit e8237237)
parent 0314d83d
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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.
+3 −1
Original line number Diff line number Diff line
@@ -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.