public function LocalStockUninstallValidator::__construct in Commerce Stock 8
Constructs a new LocalStockUninstallValidator.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity_field manager.
File
- modules/
local_storage/ src/ LocalStockUninstallValidator.php, line 45
Class
- LocalStockUninstallValidator
- Provides link to delete commerce_stock_local field values.
Namespace
Drupal\commerce_stock_localCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, TranslationInterface $string_translation, EntityFieldManagerInterface $entity_field_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->stringTranslation = $string_translation;
$this->entityFieldManager = $entity_field_manager;
}