public function Alias::__construct in GraphQL 8.3
Alias constructor.
Parameters
array $configuration: The plugin configuration array.
string $pluginId: The plugin id.
mixed $pluginDefinition: The plugin definition.
\Drupal\path_alias\AliasManagerInterface $aliasManager: The alias manager service
Overrides PluginBase::__construct
File
- modules/
graphql_core/ src/ Plugin/ GraphQL/ Fields/ Routing/ InternalUrl/ Alias.php, line 60
Class
- Alias
- Plugin annotation @GraphQLField( id = "internal_url_path_alias", secure = true, name = "pathAlias", description = @Translation("The url's path alias if any."), response_cache_contexts = {"languages:language_url"}, type = "String", …
Namespace
Drupal\graphql_core\Plugin\GraphQL\Fields\Routing\InternalUrlCode
public function __construct(array $configuration, $pluginId, $pluginDefinition, AliasManagerInterface $aliasManager) {
parent::__construct($configuration, $pluginId, $pluginDefinition);
$this->aliasManager = $aliasManager;
}