You are here

public function DefaultPluginTypeOperationsProvider::__construct in Plugin 8.2

Constructs a new instance.

Parameters

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translator.

File

src/PluginType/DefaultPluginTypeOperationsProvider.php, line 26

Class

DefaultPluginTypeOperationsProvider
Provides default operations for plugin types.

Namespace

Drupal\plugin\PluginType

Code

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