public function ModuleList::__construct in Production check & Production monitor 8
DatabaseUpdates constructor.
Parameters
array $configuration:
string $plugin_id:
mixed $plugin_definition:
\Drupal\Core\Routing\RedirectDestinationInterface $destination:
\Drupal\Core\Utility\LinkGeneratorInterface $generator:
\Drupal\Core\Config\ConfigFactoryInterface $factory:
\Drupal\Core\Datetime\DateFormatter $formatter:
\Drupal\Core\Extension\ModuleHandlerInterface $handler:
Overrides ProdCheckBase::__construct
File
- src/
Plugin/ ProdCheck/ Modules/ ModuleList.php, line 62 - Contains \Drupal\prod_check\Plugin\ProdCheck\Modules\ModuleList.
Class
- ModuleList
- Returns a list of installed modules (and their updates).
Namespace
Drupal\prod_check\Plugin\ProdCheck\ModulesCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, RedirectDestinationInterface $destination, LinkGeneratorInterface $generator, ConfigFactoryInterface $factory, DateFormatter $formatter, ModuleHandlerInterface $handler) {
$this->moduleHandler = $handler;
parent::__construct($configuration, $plugin_id, $plugin_definition, $destination, $generator, $factory, $formatter, $handler);
}