You are here

public function LanguageId::__construct in GraphQL 8.3

LanguageId constructor.

Parameters

array $configuration: The plugin configuration array.

string $pluginId: The plugin id.

array $pluginDefinition: The plugin definition array.

\Drupal\Core\Language\LanguageManagerInterface $languageManager: The language manager service.

Overrides PluginBase::__construct

File

modules/graphql_core/src/Plugin/GraphQL/Enums/Languages/LanguageId.php, line 51

Class

LanguageId
Generates an enumeration of numbers.

Namespace

Drupal\graphql_core\Plugin\GraphQL\Enums\Languages

Code

public function __construct(array $configuration, $pluginId, $pluginDefinition, LanguageManagerInterface $languageManager) {
  parent::__construct($configuration, $pluginId, $pluginDefinition);
  $this->languageManager = $languageManager;
}