public function TransactionLocalTask::__construct in Transaction 8
Creates an TransactionLocalTask object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The translation manager.
File
- src/
Plugin/ Derivative/ TransactionLocalTask.php, line 46  
Class
- TransactionLocalTask
 - Provides local task definitions on applicable target entity types.
 
Namespace
Drupal\transaction\Plugin\DerivativeCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, ConfigFactoryInterface $config_factory, TranslationInterface $string_translation) {
  $this->entityTypeManager = $entity_type_manager;
  $this->configFactory = $config_factory;
  $this->stringTranslation = $string_translation;
}