public static function ModuleList::create in Production check & Production monitor 8
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container:
array $configuration:
string $plugin_id:
mixed $plugin_definition:
Return value
static
Overrides ProdCheckBase::create
File
- src/
Plugin/ ProdCheck/ Modules/ ModuleList.php, line 82 - 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 static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('redirect.destination'), $container
->get('link_generator'), $container
->get('config.factory'), $container
->get('date.formatter'), $container
->get('module_handler'));
}