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_modulesCode
public function __construct(Extension $extension) {
$this->extension = $extension;
}