@@ -7,7 +7,6 @@ |
||
7 | 7 | use Drupal\Core\Cache\CacheableMetadata; |
8 | 8 | use Drupal\Core\Cache\CacheableResponseInterface; |
9 | 9 | use Drupal\Core\Cache\RefinableCacheableDependencyInterface; |
10 | -use Drupal\Core\Config\Config; |
|
11 | 10 | use Drupal\Core\DependencyInjection\ContainerInjectionInterface; |
12 | 11 | use Drupal\Core\Render\RenderContext; |
13 | 12 | use Drupal\Core\Render\RendererInterface; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Drupal\Core\Entity\EntityTypeManagerInterface; |
6 | 6 | use Drupal\Core\Plugin\ContainerFactoryPluginInterface; |
7 | 7 | use Drupal\graphql\Plugin\GraphQL\Enums\EnumPluginBase; |
8 | -use Drupal\graphql\Plugin\GraphQL\PluggableSchemaBuilderInterface; |
|
9 | 8 | use Symfony\Component\DependencyInjection\ContainerInterface; |
10 | 9 | |
11 | 10 | /** |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Drupal\Core\Language\LanguageManagerInterface; |
6 | 6 | use Drupal\Core\Plugin\ContainerFactoryPluginInterface; |
7 | 7 | use Drupal\graphql\Plugin\GraphQL\Enums\EnumPluginBase; |
8 | -use Drupal\graphql\Plugin\GraphQL\PluggableSchemaBuilderInterface; |
|
9 | 8 | use Symfony\Component\DependencyInjection\ContainerInterface; |
10 | 9 | |
11 | 10 | /** |
@@ -2,12 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Routing; |
4 | 4 | |
5 | -use Drupal\Core\DependencyInjection\DependencySerializationTrait; |
|
6 | -use Drupal\Core\Plugin\ContainerFactoryPluginInterface; |
|
7 | 5 | use Drupal\Core\Url; |
8 | 6 | use Drupal\graphql\GraphQL\Cache\CacheableValue; |
9 | 7 | use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase; |
10 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
11 | 8 | use GraphQL\Type\Definition\ResolveInfo; |
12 | 9 | |
13 | 10 | /** |
@@ -107,7 +107,7 @@ |
||
107 | 107 | * @param \GraphQL\Type\Definition\ResolveInfo $info |
108 | 108 | * The resolve info object. |
109 | 109 | * |
110 | - * @return mixed |
|
110 | + * @return EntityCrudOutputWrapper|null |
|
111 | 111 | * The output for the created entity. |
112 | 112 | */ |
113 | 113 | protected function resolveOutput(EntityInterface $entity, array $args, ResolveInfo $info) { |
@@ -2,9 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\graphql\Plugin\GraphQL\Scalars; |
4 | 4 | |
5 | -use Drupal\graphql\Plugin\GraphQL\PluggableSchemaBuilderInterface; |
|
6 | -use GraphQL\Type\Definition\Type; |
|
7 | - |
|
8 | 5 | /** |
9 | 6 | * Scalar boolean type. |
10 | 7 | * |
@@ -2,9 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\graphql\Plugin\GraphQL\Scalars; |
4 | 4 | |
5 | -use Drupal\graphql\Plugin\GraphQL\PluggableSchemaBuilderInterface; |
|
6 | -use GraphQL\Type\Definition\Type; |
|
7 | - |
|
8 | 5 | /** |
9 | 6 | * Scalar string type. |
10 | 7 | * |
@@ -2,9 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\graphql\Plugin\GraphQL\Scalars; |
4 | 4 | |
5 | -use Drupal\graphql\Plugin\GraphQL\PluggableSchemaBuilderInterface; |
|
6 | -use GraphQL\Type\Definition\Type; |
|
7 | - |
|
8 | 5 | /** |
9 | 6 | * Scalar float type. |
10 | 7 | * |
@@ -2,9 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\graphql\Plugin\GraphQL\Scalars; |
4 | 4 | |
5 | -use Drupal\graphql\Plugin\GraphQL\PluggableSchemaBuilderInterface; |
|
6 | -use GraphQL\Type\Definition\Type; |
|
7 | - |
|
8 | 5 | /** |
9 | 6 | * Scalar id type. |
10 | 7 | * |