You are here

public function UnusedModulesExtensionDecorator::__construct in Unused Modules 8

UnusedModulesExtensionDecorator constructor.

Parameters

\Drupal\Core\Extension\Extension $extension: The Extension object.

Overrides Extension::__construct

File

src/UnusedModulesExtensionDecorator.php, line 60

Class

UnusedModulesExtensionDecorator
Decorates the core Extension object.

Namespace

Drupal\unused_modules

Code

public function __construct(Extension $extension) {
  $this->extension = $extension;
}