You are here

public function AcquiaContentHubConfigNullUuidsFix::__construct in Acquia Content Hub 8.2

AcquiaContentHubConfigNullUuidsFix constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The Entity Type Manager.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The Configuration Factory.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The Module Handler.

\Drupal\Component\Uuid\UuidInterface $uuidGenerator: The UUID Generator.

File

modules/acquia_contenthub_site_health/src/Commands/AcquiaContentHubConfigNullUuidsFix.php, line 59

Class

AcquiaContentHubConfigNullUuidsFix
Drush command to fix config entities with null uuids.

Namespace

Drupal\acquia_contenthub_site_health\Commands

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, UuidInterface $uuidGenerator) {
  $this->entityTypeManager = $entity_type_manager;
  $this->configFactory = $config_factory;
  $this->moduleHandler = $module_handler;
  $this->uuidGenerator = $uuidGenerator;
}