@@ -8,7 +8,6 @@ |
||
8 | 8 | use Drupal\Core\Entity\EntityTypeManagerInterface; |
9 | 9 | use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface; |
10 | 10 | use Drupal\graphql\Utility\StringHelper; |
11 | -use Drupal\graphql_content_mutation\ContentEntityMutationSchemaConfig; |
|
12 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
13 | 12 | |
14 | 13 | class EntityInputFieldDeriver extends DeriverBase implements ContainerDeriverInterface { |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Drupal\Core\Entity\EntityTypeManagerInterface; |
9 | 9 | use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface; |
10 | 10 | use Drupal\graphql\Utility\StringHelper; |
11 | -use Drupal\graphql_content_mutation\ContentEntityMutationSchemaConfig; |
|
12 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
13 | 12 | |
14 | 13 | class CreateEntityDeriver extends DeriverBase implements ContainerDeriverInterface { |
@@ -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_mutation\ContentEntityMutationSchemaConfig; |
|
11 | 10 | use Symfony\Component\DependencyInjection\ContainerInterface; |
12 | 11 | |
13 | 12 | class DeleteEntityDeriver extends DeriverBase implements ContainerDeriverInterface { |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Drupal\Core\Entity\EntityTypeManagerInterface; |
9 | 9 | use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface; |
10 | 10 | use Drupal\graphql\Utility\StringHelper; |
11 | -use Drupal\graphql_content_mutation\ContentEntityMutationSchemaConfig; |
|
12 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
13 | 12 | |
14 | 13 | class UpdateEntityDeriver extends DeriverBase implements ContainerDeriverInterface { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\graphql_core\Plugin\Deriver\Types; |
4 | 4 | |
5 | -use Drupal\graphql\Utility\StringHelper; |
|
6 | 5 | use Drupal\graphql_core\Plugin\Deriver\ViewDeriverBase; |
7 | 6 | use Drupal\views\Views; |
8 | 7 |
@@ -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; |
@@ -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()) { |