Constructs a new EntityCloneExtrasPermissions instance.
Paramètres
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity type manager.
\Drupal\Core\StringTranslation\TranslationManager $string_translation: The string translation manager.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: Module handler.
Fichier
-
modules/
entity_clone_extras/ src/ EntityCloneExtrasPermissions.php, line 47
Classe
- EntityCloneExtrasPermissions
- Provides dynamic permissions of the entity_clone module.
Namespace
Drupal\entity_clone_extrasCode
public function __construct(EntityTypeManagerInterface $entity_manager, TranslationManager $string_translation, ModuleHandlerInterface $module_handler) {
$this->entityTypeManager = $entity_manager;
$this->translationManager = $string_translation;
$this->moduleHandler = $module_handler;
}