public function ConvertBundlesLocalTask::__construct in Convert Bundles 8
Creates an ConvertBundlesLocalTask object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The translation manager.
File
- src/
Plugin/ Derivative/ ConvertBundlesLocalTask.php, line 37
Class
- ConvertBundlesLocalTask
- Provides local task definitions for all entity bundles.
Namespace
Drupal\convert_bundles\Plugin\DerivativeCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, TranslationInterface $string_translation) {
$this->entityTypeManager = $entity_type_manager;
$this->stringTranslation = $string_translation;
}