public function ContentUninstallValidator::__construct in CiviCRM Entity 8.3
Constructs a new ContentUninstallValidator.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service.
Overrides ContentUninstallValidator::__construct
File
- src/
Entity/ ContentUninstallValidator.php, line 20
Class
- ContentUninstallValidator
- Class ContentUninstallValidator.
Namespace
Drupal\civicrm_entity\EntityCode
public function __construct(ModuleUninstallValidatorInterface $content_uninstall_validator, EntityTypeManagerInterface $entity_type_manager, TranslationInterface $string_translation) {
parent::__construct($entity_type_manager, $string_translation);
$this->contentUninstallValidator = $content_uninstall_validator;
}