You are here

public function RedhenConnectionLocalTask::__construct in RedHen CRM 8

Creates an SalesforceMappingLocalTask object.

Parameters

ConnectionService $service: The service manager.

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

File

modules/redhen_connection/src/Plugin/Derivative/RedhenConnectionLocalTask.php, line 36

Class

RedhenConnectionLocalTask
Provides local task definitions for all entity bundles.

Namespace

Drupal\redhen_connection\Plugin\Derivative

Code

public function __construct(ConnectionService $service, TranslationInterface $string_translation) {
  $this->service = $service;
  $this->stringTranslation = $string_translation;
}