You are here

public function SalesforceMappingLocalTask::__construct in Salesforce Suite 8.3

Creates an SalesforceMappingLocalTask object.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The translation manager.

File

modules/salesforce_mapping/src/Plugin/Derivative/SalesforceMappingLocalTask.php, line 34

Class

SalesforceMappingLocalTask
Provides local task definitions for all entity bundles.

Namespace

Drupal\salesforce_mapping\Plugin\Derivative

Code

public function __construct(EntityManagerInterface $entity_manager, TranslationInterface $string_translation) {
  $this->entityManager = $entity_manager;
  $this->stringTranslation = $string_translation;
}