public function DynamicLocalTasks::__construct in Entity Clone 8
Constructs a new DynamicLocalTasks.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\StringTranslation\TranslationManager $string_translation: The translation manager.
File
- src/
Plugin/ Derivative/ DynamicLocalTasks.php, line 38
Class
- DynamicLocalTasks
- Defines dynamic local tasks.
Namespace
Drupal\entity_clone\Plugin\DerivativeCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, TranslationManager $string_translation) {
$this->entityTypeManager = $entity_type_manager;
$this->translationManager = $string_translation;
}