@@ -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; |
@@ -60,9 +60,9 @@ |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
63 | - * @param $entityTypeId |
|
63 | + * @param string $entityTypeId |
|
64 | 64 | * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $fieldDefinition |
65 | - * @return array |
|
65 | + * @return string |
|
66 | 66 | */ |
67 | 67 | protected function getParentsForField($entityTypeId, FieldStorageDefinitionInterface $fieldDefinition) { |
68 | 68 | if ($fieldDefinition->isBaseField()) { |
@@ -12,8 +12,6 @@ |
||
12 | 12 | use Drupal\Core\PageCache\ResponsePolicyInterface; |
13 | 13 | use Drupal\Core\Routing\StackedRouteMatchInterface; |
14 | 14 | use Drupal\graphql\GraphQL\Schema\SchemaLoader; |
15 | -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; |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Entity; |
4 | 4 | |
5 | -use Drupal\Core\Field\FieldItemBase; |
|
6 | -use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase; |
|
7 | 5 | use Drupal\graphql_core\Plugin\GraphQL\Fields\EntityFieldBase; |
8 | 6 | use Youshido\GraphQL\Execution\ResolveInfo; |
9 | 7 |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use Drupal\graphql\Plugin\GraphQL\Traits\NamedPluginTrait; |
11 | 11 | use Drupal\graphql\Plugin\GraphQL\Traits\TypedPluginTrait; |
12 | 12 | use Drupal\graphql\Plugin\GraphQL\TypeSystemPluginInterface; |
13 | -use Youshido\GraphQL\Config\Object\InputObjectTypeConfig; |
|
14 | 13 | use Youshido\GraphQL\Field\Field; |
15 | 14 | use Youshido\GraphQL\Type\TypeInterface; |
16 | 15 |
@@ -3,9 +3,7 @@ |
||
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 | 6 | use Drupal\graphql\GraphQL\Cache\CacheableValue; |
8 | -use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase; |
|
9 | 7 | use Drupal\graphql\Utility\StringHelper; |
10 | 8 | use Drupal\graphql_core\Plugin\GraphQL\Fields\EntityFieldBase; |
11 | 9 | use Youshido\GraphQL\Execution\ResolveInfo; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Drupal\Core\Entity\EntityChangedInterface; |
6 | 6 | use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase; |
7 | -use Drupal\graphql\Plugin\GraphQL\PluggableSchemaBuilderInterface; |
|
8 | 7 | use Youshido\GraphQL\Execution\ResolveInfo; |
9 | 8 | use DateTime; |
10 | 9 |
@@ -2,9 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Entity; |
4 | 4 | |
5 | -use Drupal\Core\Render\Element\Date; |
|
6 | 5 | use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase; |
7 | -use Drupal\graphql\Plugin\GraphQL\PluggableSchemaBuilderInterface; |
|
8 | 6 | use Youshido\GraphQL\Execution\ResolveInfo; |
9 | 7 | use DateTime; |
10 | 8 |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Drupal\Core\DependencyInjection\DependencySerializationTrait; |
7 | 7 | use Drupal\Core\Entity\EntityTypeManagerInterface; |
8 | 8 | use Drupal\Core\Plugin\ContainerFactoryPluginInterface; |
9 | -use Drupal\graphql\GraphQL\Cache\CacheableValue; |
|
10 | 9 | use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase; |
11 | 10 | use Symfony\Component\DependencyInjection\ContainerInterface; |
12 | 11 | use Youshido\GraphQL\Execution\ResolveInfo; |