Constructs a new EntityCloneContextualLinks.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\Core\StringTranslation\TranslationManager $stringTranslation:
File
-
src/
Plugin/ Derivative/ EntityCloneContextualLinks.php, line 39
Class
- EntityCloneContextualLinks
- Class EntityCloneContextualLinks
Namespace
Drupal\entity_clone\Plugin\DerivativeCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, TranslationManager $stringTranslation) {
$this->entityTypeManager = $entityTypeManager;
$this->translationManager = $stringTranslation;
}