public function EntityQuery::__construct in GraphQL 8.3
EntityQuery constructor.
Parameters
array $configuration: The plugin configuration array.
string $pluginId: The plugin id.
mixed $pluginDefinition: The plugin definition.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager service.
Overrides PluginBase::__construct
File
- modules/
graphql_core/ src/ Plugin/ GraphQL/ Fields/ EntityQuery/ EntityQuery.php, line 79
Class
- EntityQuery
- @GraphQLField( id = "entity_query", secure = false, type = "EntityQueryResult", arguments = { "filter" = "EntityQueryFilterInput", "sort" = "[EntityQuerySortInput]", "offset" =…
Namespace
Drupal\graphql_core\Plugin\GraphQL\Fields\EntityQueryCode
public function __construct(array $configuration, $pluginId, $pluginDefinition, EntityTypeManagerInterface $entityTypeManager) {
parent::__construct($configuration, $pluginId, $pluginDefinition);
$this->entityTypeManager = $entityTypeManager;
}