public static function Fields::create in GraphQL 8.4
@codeCoverageIgnore
Overrides ContainerFactoryPluginInterface::create
File
- src/
Plugin/ GraphQL/ DataProducer/ EntityDefinition/ Fields.php, line 63
Class
- Fields
- Retrieve the list of fields from a given entity definition.
Namespace
Drupal\graphql\Plugin\GraphQL\DataProducer\EntityDefinitionCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('entity_type.manager'), $container
->get('entity_field.manager'));
}