@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Entity; |
4 | 4 | |
5 | -use Drupal\Core\Access\AccessibleInterface; |
|
6 | 5 | use Drupal\Core\Entity\EntityInterface; |
7 | 6 | use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase; |
8 | 7 | use Youshido\GraphQL\Execution\ResolveInfo; |
@@ -3,8 +3,6 @@ |
||
3 | 3 | namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Entity; |
4 | 4 | |
5 | 5 | use Drupal\Core\Entity\FieldableEntityInterface; |
6 | -use Drupal\Core\Field\Plugin\DataType\FieldItem; |
|
7 | -use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase; |
|
8 | 6 | use Drupal\graphql\Utility\StringHelper; |
9 | 7 | use Drupal\graphql_core\Plugin\GraphQL\Fields\EntityFieldBase; |
10 | 8 | use Youshido\GraphQL\Execution\ResolveInfo; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Drupal\Core\Field\FieldItemBase; |
6 | 6 | use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase; |
7 | -use Youshido\GraphQL\Execution\ResolveInfo; |
|
8 | 7 | |
9 | 8 | /** |
10 | 9 | * Base class for entity field plugins. |
@@ -4,7 +4,6 @@ discard block |
||
4 | 4 | |
5 | 5 | use Drupal\Core\Cache\Cache; |
6 | 6 | use Drupal\Core\Cache\CacheableDependencyInterface; |
7 | -use Drupal\Core\Cache\CacheableMetadata; |
|
8 | 7 | use Drupal\Core\Cache\CacheableResponseInterface; |
9 | 8 | use Drupal\Core\Cache\CacheBackendInterface; |
10 | 9 | use Drupal\Core\Cache\Context\CacheContextsManager; |
@@ -13,7 +12,6 @@ discard block |
||
13 | 12 | use Drupal\Core\Routing\StackedRouteMatchInterface; |
14 | 13 | use Drupal\graphql\GraphQL\Schema\SchemaLoader; |
15 | 14 | use Drupal\graphql\Plugin\GraphQL\SchemaPluginInterface; |
16 | -use Drupal\graphql\Plugin\GraphQL\SchemaPluginManager; |
|
17 | 15 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
18 | 16 | use Symfony\Component\HttpFoundation\RequestStack; |
19 | 17 | use Symfony\Component\HttpFoundation\Response; |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Drupal\Core\Entity\EntityTypeManagerInterface; |
8 | 8 | use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface; |
9 | 9 | use Drupal\graphql\Utility\StringHelper; |
10 | -use Drupal\graphql_content\ContentEntitySchemaConfig; |
|
11 | 10 | use Symfony\Component\DependencyInjection\ContainerInterface; |
12 | 11 | |
13 | 12 | /** |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\graphql_core\Plugin\Deriver\Fields; |
4 | 4 | |
5 | -use Drupal\Core\Field\FieldConfigInterface; |
|
6 | 5 | use Drupal\Core\Field\FieldStorageDefinitionInterface; |
7 | 6 | use Drupal\field\FieldStorageConfigInterface; |
8 | 7 | use Drupal\graphql\Utility\StringHelper; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | * The GraphQL module. |
6 | 6 | */ |
7 | 7 | |
8 | -use Drupal\graphql\Utility\StringHelper; |
|
9 | 8 | use Drupal\Core\Url; |
10 | 9 | |
11 | 10 | define('GRAPHQL_SCALAR_PLUGIN', 'scalar'); |
@@ -8,16 +8,13 @@ |
||
8 | 8 | use Drupal\graphql\GraphQL\SecureFieldInterface; |
9 | 9 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
10 | 10 | use Symfony\Component\DependencyInjection\ContainerInterface; |
11 | -use Youshido\GraphQL\Exception\ResolveException; |
|
12 | 11 | use Youshido\GraphQL\Execution\DeferredResolverInterface; |
13 | 12 | use Youshido\GraphQL\Execution\Processor as BaseProcessor; |
14 | -use Youshido\GraphQL\Field\AbstractField; |
|
15 | 13 | use Youshido\GraphQL\Field\Field; |
16 | 14 | use Youshido\GraphQL\Field\FieldInterface; |
17 | 15 | use Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface as AstFieldInterface; |
18 | 16 | use Youshido\GraphQL\Parser\Ast\Query as AstQuery; |
19 | 17 | use Youshido\GraphQL\Schema\AbstractSchema; |
20 | -use Youshido\GraphQL\Type\TypeService; |
|
21 | 18 | |
22 | 19 | class Processor extends BaseProcessor { |
23 | 20 | /** |