@@ -48,7 +48,7 @@ |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
51 | - * @param $entityTypeId |
|
51 | + * @param string $entityTypeId |
|
52 | 52 | * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $fieldDefinition |
53 | 53 | * @return array |
54 | 54 | */ |
@@ -4,8 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Drupal\Core\Cache\Cache; |
6 | 6 | use Drupal\Core\Cache\CacheableDependencyInterface; |
7 | -use Drupal\Core\Cache\CacheableMetadata; |
|
8 | -use Drupal\Core\Cache\CacheableResponseInterface; |
|
9 | 7 | use Drupal\Core\Cache\CacheBackendInterface; |
10 | 8 | use Drupal\Core\Cache\Context\CacheContextsManager; |
11 | 9 | use Drupal\Core\PageCache\RequestPolicyInterface; |
@@ -2,13 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Entity; |
4 | 4 | |
5 | -use Drupal\Core\Cache\CacheableMetadata; |
|
6 | 5 | use Drupal\Core\DependencyInjection\DependencySerializationTrait; |
7 | 6 | use Drupal\Core\Entity\EntityRepositoryInterface; |
8 | 7 | use Drupal\Core\Entity\EntityTypeManagerInterface; |
9 | 8 | use Drupal\Core\Plugin\ContainerFactoryPluginInterface; |
10 | 9 | use Drupal\graphql\GraphQL\Buffers\EntityBuffer; |
11 | -use Drupal\graphql\GraphQL\Cache\CacheableValue; |
|
12 | 10 | use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase; |
13 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
14 | 12 | use Youshido\GraphQL\Execution\ResolveInfo; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Entity; |
4 | 4 | |
5 | 5 | use Drupal\Core\Entity\FieldableEntityInterface; |
6 | -use Drupal\graphql\GraphQL\Cache\CacheableValue; |
|
7 | 6 | use Drupal\graphql_core\Plugin\GraphQL\Fields\EntityFieldBase; |
8 | 7 | use Youshido\GraphQL\Execution\ResolveInfo; |
9 | 8 |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Drupal\Core\Entity\Query\QueryInterface; |
7 | 7 | use Drupal\Core\Plugin\ContainerFactoryPluginInterface; |
8 | 8 | use Drupal\graphql\GraphQL\Buffers\EntityBuffer; |
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; |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Routing; |
4 | 4 | |
5 | 5 | use Drupal\Component\Utility\UrlHelper; |
6 | -use Drupal\Core\Cache\CacheableMetadata; |
|
7 | 6 | use Drupal\Core\Url; |
8 | -use Drupal\graphql\GraphQL\Cache\CacheableValue; |
|
9 | 7 | use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase; |
10 | 8 | use Youshido\GraphQL\Execution\ResolveInfo; |
11 | 9 |