You are here

public function EckEntityContentLocalTask::__construct in Entity Construction Kit (ECK) 8

The constructor.

Parameters

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

File

src/Plugin/Derivative/EckEntityContentLocalTask.php, line 27

Class

EckEntityContentLocalTask
Provides local task definitions for all entity bundles.

Namespace

Drupal\eck\Plugin\Derivative

Code

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